Skip to main content

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

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 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 Normal

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