Extensions.

BeginInvoke(DispatcherObject, Action, DispatcherPriority) Method

Summary

Executes the specified action asynchronously with the DispatcherPriority.Background on the thread that the Dispatcher was created on.
Namespace
MahApps.Metro.Controls
Containing Type
Extensions

Syntax

public static void BeginInvoke(this DispatcherObject dispatcherObject, Action invokeAction, DispatcherPriority priority = null)

Parameters

Name Type Description
dispatcherObject DispatcherObject The dispatcher object where the action runs.
invokeAction Action An action that takes no parameters.
priority DispatcherPriority The dispatcher priority.

Return Value

Type Description
void