DispatcherQueueExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helpers for executing code in a Windows.System.DispatcherQueue.
public static class DispatcherQueueExtensions
type DispatcherQueueExtensions = class
Public Module DispatcherQueueExtensions
- Inheritance
-
DispatcherQueueExtensions
Methods
EnqueueAsync(DispatcherQueue, Action, DispatcherQueuePriority) |
Invokes a given function on the target Windows.System.DispatcherQueue and returns a Task that completes when the invocation of the function is completed. |
EnqueueAsync(DispatcherQueue, Func<Task>, DispatcherQueuePriority) |
Invokes a given function on the target Windows.System.DispatcherQueue and returns a Task that acts as a proxy for the one returned by the given function. |
EnqueueAsync<T>(DispatcherQueue, Func<T>, DispatcherQueuePriority) |
Invokes a given function on the target Windows.System.DispatcherQueue and returns a Task<TResult> that completes when the invocation of the function is completed. |
EnqueueAsync<T>(DispatcherQueue, Func<Task<T>>, DispatcherQueuePriority) |
Invokes a given function on the target Windows.System.DispatcherQueue and returns a Task<TResult> that acts as a proxy for the one returned by the given function. |