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 async

InvokeOnMainThreadAsync(Func<Task>)

Invoke the main thread async

InvokeOnMainThreadAsync<T>(Func<T>)

Invoke the main thread async

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

Invoke the main thread async

Applies to