ComponentSpace DNS Class Library Reference

DnsClient.SynchronizingObject Property

Gets or sets the synchonizing object for receiving events.

[Visual Basic]
Public Property SynchronizingObject As ISynchronizeInvoke
[C#]
public System.ComponentModel.ISynchronizeInvoke SynchronizingObject {get; set;}

Property Value

An ISynchronizeInvoke, which represents the object that marshals the event-handler call resulting from a SendCompleted or ReceiveCompleted event. The default is a null reference (Nothing in Visual Basic).

Remarks

A SendCompleted event results from a BeginSend request to a specific thread. A ReceiveCompleted event results from a BeginReceive request to a specific thread. Typically, the SynchronizingObject is set when it's used within a form, because forms are bound to a specific thread.

Typically, the synchronizing object marshals a method call into a single thread.

See Also

DnsClient Class | ComponentSpace.Dns Namespace