共用方式為


SiloLifecycleSubject.OnStart(CancellationToken) 方法

定義

處理開始通知。

public override System.Threading.Tasks.Task OnStart (System.Threading.CancellationToken ct);
public override System.Threading.Tasks.Task OnStart (System.Threading.CancellationToken cancellationToken = default);
override this.OnStart : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnStart : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function OnStart (ct As CancellationToken) As Task
Public Overrides Function OnStart (Optional cancellationToken As CancellationToken = Nothing) As Task

參數

ctcancellationToken
CancellationToken

傳回

Task 表示作業。

實作

適用於