Class UmbracoApplicationStoppingNotification
Notification that occurs when Umbraco is shutting down (after all components are terminated).
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoApplicationStoppingNotification : IUmbracoApplicationLifetimeNotification, INotification
Constructors
View SourceUmbracoApplicationStoppingNotification(bool)
Initializes a new instance of the UmbracoApplicationStoppingNotification class.
Declaration
public UmbracoApplicationStoppingNotification(bool isRestarting)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isRestarting | Indicates whether Umbraco is restarting. |
Properties
View SourceIsRestarting
Gets a value indicating whether Umbraco is restarting (e.g. after an install or upgrade).
Declaration
public bool IsRestarting { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|