AsyncOperationManager.SynchronizationContext Eigenschap

Definitie

Hiermee haalt u de synchronisatiecontext voor de asynchrone bewerking op of stelt u deze in.

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

Waarde van eigenschap

De synchronisatiecontext voor de asynchrone bewerking.

Opmerkingen

De standaard implementatie is de gratis threaded-implementatie.

Een thread moet de SynchronizationContext eigenschap null zo instellen dat de vrije threaded factory wordt vrijgegeven wanneer deze klaar is, anders wordt de fabriek nooit verwijderd.

Van toepassing op