次の方法で共有


ILifecycleObserver.OnStop(CancellationToken) メソッド

定義

停止通知を処理します。

public System.Threading.Tasks.Task OnStop (System.Threading.CancellationToken ct);
public System.Threading.Tasks.Task OnStop (System.Threading.CancellationToken cancellationToken = default);
abstract member OnStop : System.Threading.CancellationToken -> System.Threading.Tasks.Task
abstract member OnStop : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnStop (ct As CancellationToken) As Task
Public Function OnStop (Optional cancellationToken As CancellationToken = Nothing) As Task

パラメーター

ctcancellationToken
CancellationToken

戻り値

Task操作を表す 。

適用対象