System.Messaging Reference (Document! X Sample)
SynchronizingObject Property



System.Messaging Namespace > MessageQueue Class : SynchronizingObject Property
Gets or sets the object that marshals the event-handler call resulting from a ReceiveCompleted or PeekCompleted event.
Syntax
'Declaration
 
Public Property SynchronizingObject As ISynchronizeInvoke
'Usage
 
Dim instance As MessageQueue
Dim value As ISynchronizeInvoke
 
instance.SynchronizingObject = value
 
value = instance.SynchronizingObject
public ISynchronizeInvoke SynchronizingObject {get; set;}
public:
property ISynchronizeInvoke^ SynchronizingObject {
   ISynchronizeInvoke^ get();
   void set (    ISynchronizeInvoke^ value);
}

Property Value

A System.ComponentModel.ISynchronizeInvoke, which represents the object that marshals the event-handler call resulting from a ReceiveCompleted or PeekCompleted event. The default is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MessageQueue Class
MessageQueue Members