ComponentSpace Proxy Class Library Reference

IProxyClient.SynchronizingObject Property

Gets or sets the synchonizing object for receiving events.

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

Property Value

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

Remarks

A ConnectCompleted event results from a BeginConnect 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

IProxyClient Interface | ComponentSpace.Proxy Namespace