Share via


Device.GetMainThreadSynchronizationContextAsync Methode

Definition

Gibt den aktuellen System.Threading.SynchronizationContext aus dem Hauptthread zurück.

public static System.Threading.Tasks.Task<System.Threading.SynchronizationContext> GetMainThreadSynchronizationContextAsync ();
static member GetMainThreadSynchronizationContextAsync : unit -> System.Threading.Tasks.Task<System.Threading.SynchronizationContext>

Gibt zurück

System.Threading.Tasks.Task<System.Threading.SynchronizationContext>

Der aktuelle System.Threading.SynchronizationContext aus dem Hauptthread.

Gilt für: