IDispatcher.Dispatch(Action) 方法

定义

从工作线程计划 UI 线程上提供的操作。

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

参数

action
Action

Action计划用于在 UI 线程上进行处理。

返回

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

适用于