Share via


IApplicationLifetimeWrapper.OnStopped Property

Definition

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

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

Property Value

A CancellationToken that is signalled when the function app has completed shutting down.

Applies to