Dispatcher.Dispatch(Action) Method

Definition

Schedules the provided action on the UI thread from a worker thread.

public:
 virtual bool Dispatch(Action ^ action);
public bool Dispatch (Action action);
abstract member Dispatch : Action -> bool
override this.Dispatch : Action -> bool
Public Function Dispatch (action As Action) As Boolean

Parameters

action
Action

The Action to be scheduled for processing on the UI thread.

Returns

true when the action has been dispatched successfully, otherwise false.

Implements

Applies to