Partager via


IDispatcher.Dispatch(Action) Method

Definition

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

public:
 bool Dispatch(Action ^ action);
public bool Dispatch (Action action);
abstract member 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.

Applies to