IHostApplicationLifetime Interface
Definition
Allows consumers to be notified of application lifetime events.
public interface class IHostApplicationLifetime
public interface IHostApplicationLifetime
type IHostApplicationLifetime = interface
Public Interface IHostApplicationLifetime
Properties
ApplicationStarted |
Triggered when the application host has fully started. |
ApplicationStopped |
Triggered when the application host is performing a graceful shutdown. Shutdown will block until this event completes. |
ApplicationStopping |
Triggered when the application host is performing a graceful shutdown. Shutdown will block until this event completes. |
Methods
StopApplication() |
Requests termination of the current application. |