IHostApplicationLifetime.ApplicationStopping 属性

定义

当应用程序主机执行正常关闭时触发。 在此事件完成之前,关闭将被阻止。

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

属性值

适用于