Class UmbracoApplicationStoppingNotification
Notification that occurs when Umbraco is shutting down (after all components are terminated).
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoApplicationStoppingNotification : IUmbracoApplicationLifetimeNotification, INotification
Constructors
View SourceUmbracoApplicationStoppingNotification(Boolean)
Initializes a new instance of the UmbracoApplicationStoppingNotification class.
Declaration
public UmbracoApplicationStoppingNotification(bool isRestarting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | 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 |
---|---|
System.Boolean |
|