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)
Initializes a new instance of the Umbraco
Declaration
public UmbracoApplicationStartingNotification(RuntimeLevel runtimeLevel)
Parameters
Type | Name | Description |
---|---|---|
Runtime |
runtimeLevel | The runtime level |
UmbracoApplicationStartingNotification(RuntimeLevel, Boolean)
Initializes a new instance of the Umbraco
Declaration
public UmbracoApplicationStartingNotification(RuntimeLevel runtimeLevel, bool isRestarting)
Parameters
Type | Name | Description |
---|---|---|
Runtime |
runtimeLevel | The runtime level |
System. |
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. |
|
RuntimeLevel
Gets the runtime level.
Declaration
public RuntimeLevel RuntimeLevel { get; }
Property Value
Type | Description |
---|---|
Runtime |
The runtime level. |