IApplicationLifetime.ApplicationStopped Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Applies to
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: