Share via


ThreadHelper.BeginInvoke Method

Definition

Overloads

BeginInvoke(Action)

Schedule an action for execution on the UI thread asynchronously.

BeginInvoke(DispatcherPriority, Action)

Schedule an action for execution on the UI thread asynchronously.

BeginInvoke(Action)

Schedule an action for execution on the UI thread asynchronously.

public:
 void BeginInvoke(Action ^ action);
public void BeginInvoke (Action action);
member this.BeginInvoke : Action -> unit
Public Sub BeginInvoke (action As Action)

Parameters

action
Action

The action to run.

Applies to

BeginInvoke(DispatcherPriority, Action)

Schedule an action for execution on the UI thread asynchronously.

public:
 void BeginInvoke(System::Windows::Threading::DispatcherPriority priority, Action ^ action);
public void BeginInvoke (System.Windows.Threading.DispatcherPriority priority, Action action);
member this.BeginInvoke : System.Windows.Threading.DispatcherPriority * Action -> unit
Public Sub BeginInvoke (priority As DispatcherPriority, action As Action)

Parameters

priority
DispatcherPriority

Priority at which to run the action.

action
Action

The action to run.

Applies to