Share via


ApplicationLifetime.ApplicationStopped Property

Definition

Gets a cancellation token. Triggered when the application host is performing a graceful shutdown. All requests should be complete at this point. Shutdown will block until this event completes.

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

Implements

Remarks

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Applies to