Dispatcher.InvokeAsync Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Executes the specified delegate asynchronously on the thread the Dispatcher is associated with.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodInvokeAsync(Action)

Executes the specified Action asynchronously on the thread the Dispatcher is associated with.

System_CAPS_pubmethodInvokeAsync(Action, DispatcherPriority)

Executes the specified Action asynchronously at the specified priority on the thread the Dispatcher is associated with.

System_CAPS_pubmethodInvokeAsync(Action, DispatcherPriority, CancellationToken)

Executes the specified Action asynchronously at the specified priority on the thread the Dispatcher is associated with.

System_CAPS_pubmethodInvokeAsync<TResult>(Func<TResult>)

Executes the specified Func<TResult> asynchronously on the thread the Dispatcher is associated with.

System_CAPS_pubmethodInvokeAsync<TResult>(Func<TResult>, DispatcherPriority)

Executes the specified Func<TResult> asynchronously at the specified priority on the thread the Dispatcher is associated with.

System_CAPS_pubmethodInvokeAsync<TResult>(Func<TResult>, DispatcherPriority, CancellationToken)

Executes the specified Func<TResult> synchronously at the specified priority on the thread the Dispatcher is associated with.

Return to top
Show: