Skip to main content
A newer version of this page is available. .

DispatcherServiceExtensions.BeginInvoke(IDispatcherService, Action, DispatcherActionPriority, Int32) Method

Executes the specified delegate asynchronously.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.WinUI.Mvvm.v22.1.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 IDispatcherService

An object that implements the IDispatcherService and invokes the specified delegate.

action Action

The invoked Action.

Optional Parameters

Name Type Default Description
priority DispatcherActionPriority 0

The invoked action’s priority in the Windows.System.DispatcherQueue.

delay Int32 0

A delay before the specified action is invoked, in milliseconds.

See Also