IDispatcherService.InvokeAsync(Action, DispatcherActionPriority, Int32) Method
In This Article
Passes the specified delegate to the Windows.System.DispatcherQueue.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.WinUI.Mvvm.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
Task InvokeAsync(
Action action,
DispatcherActionPriority priority = DispatcherActionPriority.Normal,
int delay = 0
)
#Parameters
Name | Type | Description |
---|---|---|
action | Action | The invoked Action. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
priority | Dispatcher |
Normal | The invoked action’s priority in the Windows. |
delay | Int32 | 0 | A delay before the specified action is invoked, in milliseconds. |
#Returns
Type | Description |
---|---|
Task | The Task of the execution process. |
See Also