共用方式為


DispatcherPriorityAwaiter.OnCompleted(Action) 方法

定義

設定 DispatcherPriorityAwaiter 物件停止等待非同步工作完成時要執行時的動作。

public:
 virtual void OnCompleted(Action ^ continuation);
public void OnCompleted (Action continuation);
abstract member OnCompleted : Action -> unit
override this.OnCompleted : Action -> unit
Public Sub OnCompleted (continuation As Action)

參數

continuation
Action

等候作業完成時要執行的動作。

實作

適用於