Export (0) Print
Expand All

DispatchRuntime.SynchronizationContext Property

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

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public SynchronizationContext SynchronizationContext { get; set; }

Property Value

Type: System.Threading.SynchronizationContext
The SynchronizationContext object used to determine on which thread the service operation is invoked.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft