MainThread Class

Definition

Main Thread helpers.

public static class MainThread
Inheritance
MainThread

Remarks

Main Thread helpers.

Properties

IsMainThread

Gets if it is the current main UI thread.

Methods

BeginInvokeOnMainThread(Action)

Invokes an action on the main thread of the application.

GetMainThreadSynchronizationContextAsync()

Gets the main thread synchonization context

InvokeOnMainThreadAsync(Action)

Invoke the main thread aysnc

InvokeOnMainThreadAsync(Func<Task>)

Invoke the main thread aysnc

InvokeOnMainThreadAsync<T>(Func<T>)

Invoke the main thread aysnc

InvokeOnMainThreadAsync<T>(Func<Task<T>>)

Invoke the main thread aysnc

Applies to