DispatcherServiceExtensions.BeginInvoke(IDispatcherService, Action, DispatcherActionPriority, Int32) Method
In This Article
Executes the specified delegate asynchronously.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.WinUI.Mvvm.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public static void BeginInvoke(
this IDispatcherService service,
Action action,
DispatcherActionPriority priority = DispatcherActionPriority.Normal,
int delay = 0
)
#Parameters
Name | Type | Description |
---|---|---|
service | IDispatcher |
An object that implements the IDispatcher |
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. |
See Also