SynchronizationContext.Current Eigenschap

Definitie

Hiermee haalt u de synchronisatiecontext voor de huidige thread op.

public:
 static property System::Threading::SynchronizationContext ^ Current { System::Threading::SynchronizationContext ^ get(); };
public static System.Threading.SynchronizationContext Current { get; }
static member Current : System.Threading.SynchronizationContext
Public Shared ReadOnly Property Current As SynchronizationContext

Waarde van eigenschap

Een SynchronizationContext object dat de huidige synchronisatiecontext vertegenwoordigt.

Opmerkingen

Deze eigenschap is handig voor het doorgeven van een synchronisatiecontext van de ene thread naar de andere.

Van toepassing op