Leggi in inglese

Condividi tramite


IHostApplicationLifetime.ApplicationStopping Property

Definition

Gets a cancellation token. Triggered when the application host is starting a graceful shutdown. Shutdown will block until all callbacks registered on this token have completed.

C#
public System.Threading.CancellationToken ApplicationStopping { get; }

Property Value

Applies to

Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)