ComponentSpace Proxy Class Library Reference

ProxyClientBase.SynchronizingObject Property

Gets or sets the synchonizing object for receiving events.

[Visual Basic]
NotOverridable Public Property SynchronizingObject As ISynchronizeInvoke _
    Implements IProxyClient.SynchronizingObject
[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 ConnectCompleted event. The default is a null reference (Nothing in Visual Basic).

Implements

IProxyClient.SynchronizingObject

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

ProxyClientBase Class | ComponentSpace.Proxy Namespace