DispatchRuntime.SynchronizationContext Property

Definition

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

public System.Threading.SynchronizationContext SynchronizationContext { get; set; }

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

Produto Versões
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1