DispatchRuntime.SynchronizationContext Eigenschap

Definitie

Hiermee haalt u de synchronisatiecontext op die wordt gebruikt om de servicebewerkingen aan te roepen of stelt u deze in.

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

Waarde van eigenschap

Het SynchronizationContext object dat wordt gebruikt om te bepalen op welke thread de servicebewerking wordt aangeroepen.

Opmerkingen

De retourwaarde kan zijn null. Als deze waarde niet nullis, wordt deze synchronisatiecontext gebruikt om de servicebewerkingen op de juiste thread aan te roepen.

Van toepassing op