Class UmbracoApplicationStartingNotification
Notification that occurs at the very end of the Umbraco boot process (after all
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoApplicationStartingNotification : IUmbracoApplicationLifetimeNotification, INotification
Constructors
View SourceUmbracoApplicationStartingNotification(RuntimeLevel, Boolean)
Initializes a new instance of the UmbracoApplicationStartingNotification class.
Declaration
public UmbracoApplicationStartingNotification(RuntimeLevel runtimeLevel, bool isRestarting)
Parameters
Type | Name | Description |
---|---|---|
RuntimeLevel | runtimeLevel | The runtime level |
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 |
|
RuntimeLevel
Gets the runtime level.
Declaration
public RuntimeLevel RuntimeLevel { get; }
Property Value
Type | Description |
---|---|
RuntimeLevel | The runtime level. |