共用方式為


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 資訊。

適用於

另請參閱