Share via


IApplicationLifetimeWrapper.OnStopping Property

Definition

Gets a CancellationToken that can be used to detect function app stopping events.

public System.Threading.CancellationToken OnStopping { get; }
member this.OnStopping : System.Threading.CancellationToken
Public ReadOnly Property OnStopping As CancellationToken

Property Value

A CancellationToken that is signalled when the function app is beginning to shut down.

Applies to