共用方式為


ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter.UnsafeOnCompleted 方法

定義

排程此 awaiter 相關工作的接續動作。

public:
 virtual 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
override this.UnsafeOnCompleted : Action -> unit
abstract member UnsafeOnCompleted : Action -> unit
override this.UnsafeOnCompleted : Action -> unit
Public Sub UnsafeOnCompleted (continuation As Action)

參數

continuation
Action

等候作業完成時要叫用的動作。

實作

屬性

例外狀況

continuation 引數為 null

awaiter 未正確初始化。

備註

這個方法僅供編譯器使用。請勿直接在您的程式碼中使用。

適用於