This topic has not yet been rated - Rate this topic

Dispatcher.InvokeAsync Method

.NET Framework 4.5

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method InvokeAsync(Action) Executes the specified Action asynchronously on the thread the Dispatcher is associated with.
Public method InvokeAsync<TResult>(Func<TResult>) Executes the specified Func<TResult> asynchronously on the thread the Dispatcher is associated with.
Public method InvokeAsync(Action, DispatcherPriority) Executes the specified Action asynchronously at the specified priority on the thread the Dispatcher is associated with.
Public method InvokeAsync<TResult>(Func<TResult>, DispatcherPriority) Executes the specified Func<TResult> asynchronously at the specified priority on the thread the Dispatcher is associated with.
Public method InvokeAsync(Action, DispatcherPriority, CancellationToken) Executes the specified Action asynchronously at the specified priority on the thread the Dispatcher is associated with.
Public method InvokeAsync<TResult>(Func<TResult>, DispatcherPriority, CancellationToken) Executes the specified Func<TResult> synchronously at the specified priority on the thread the Dispatcher is associated with.
Top
Did you find this helpful?
(1500 characters remaining)