共用方式為


IHostApplicationLifetime.ApplicationStopped 屬性

定義

當應用程式主機已執行正常關機時觸發。

public:
 property System::Threading::CancellationToken ApplicationStopped { System::Threading::CancellationToken get(); };
public System.Threading.CancellationToken ApplicationStopped { get; }
member this.ApplicationStopped : System.Threading.CancellationToken
Public ReadOnly Property ApplicationStopped As CancellationToken

屬性值

適用於