Editare

Partajați prin


DispatchRuntime.SynchronizationContext Property

Definition

Gets or sets the synchronization context that is used to invoke the service operations.

public:
 property System::Threading::SynchronizationContext ^ SynchronizationContext { System::Threading::SynchronizationContext ^ get(); void set(System::Threading::SynchronizationContext ^ value); };
public System.Threading.SynchronizationContext SynchronizationContext { get; set; }
member this.SynchronizationContext : System.Threading.SynchronizationContext with get, set
Public Property SynchronizationContext As SynchronizationContext

Property Value

The SynchronizationContext object used to determine on which thread the service operation is invoked.

Remarks

The return value can be null. If this value is not null, then this synchronization context is used to invoke the service operations on the correct thread.

Applies to