Share via


MainThread.GetMainThreadSynchronizationContextAsync Method

Definition

Gets the main thread synchonization context

public static System.Threading.Tasks.Task<System.Threading.SynchronizationContext> GetMainThreadSynchronizationContextAsync ();

Returns

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

The syncrhonization context for the main thread

Applies to