Partilhar via


IHostApplicationLifetime.ApplicationStopped Property

Definition

Gets a cancellation token. Triggered when the application host has completed a graceful shutdown. The application will not exit until all callbacks registered on this token have completed.

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

Property Value

Applies to