ICriticalNotifyCompletion.UnsafeOnCompleted(Action) 方法

定义

计划实例完成时调用的延续操作。

public:
 void UnsafeOnCompleted(Action ^ continuation);
[System.Security.SecurityCritical]
public void UnsafeOnCompleted (Action continuation);
public void UnsafeOnCompleted (Action continuation);
[<System.Security.SecurityCritical>]
abstract member UnsafeOnCompleted : Action -> unit
abstract member UnsafeOnCompleted : Action -> unit
Public Sub UnsafeOnCompleted (continuation As Action)

参数

continuation
Action

要在操作完成时调用的操作。

属性

例外

continuation 参数是 null(在 Visual Basic 中为 Nothing)。

注解

与 OnCompleted 不同,UnsafeOnCompleted 不必传播 ExecutionContext 信息。

适用于

另请参阅