Dela via


WebApplication.Lifetime Property

Definition

Allows consumers to be notified of application lifetime events.

public Microsoft.Extensions.Hosting.IHostApplicationLifetime Lifetime { get; }
member this.Lifetime : Microsoft.Extensions.Hosting.IHostApplicationLifetime
Public ReadOnly Property Lifetime As IHostApplicationLifetime

Property Value

Applies to