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

在等待操作完成时要执行的操作。

实现

适用于