Class UmbracoApplicationStartingNotification
Notification that occurs at the very end of the Umbraco boot process (after all components are initialized).
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoApplicationStartingNotification : IUmbracoApplicationLifetimeNotification, INotification
Remarks
This notification is published during the application startup phase, before the request pipeline is fully configured. Use UmbracoApplicationStartedNotification if you need to perform actions after Umbraco is fully started.
Constructors
View SourceUmbracoApplicationStartingNotification(RuntimeLevel, bool)
Initializes a new instance of the UmbracoApplicationStartingNotification class.
Declaration
public UmbracoApplicationStartingNotification(RuntimeLevel runtimeLevel, bool isRestarting)
Parameters
| Type | Name | Description |
|---|---|---|
| RuntimeLevel | runtimeLevel | The current runtime level of the application. |
| bool | isRestarting | A value indicating 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 |
|
RuntimeLevel
Gets the current runtime level of the application.
Declaration
public RuntimeLevel RuntimeLevel { get; }
Property Value
| Type | Description |
|---|---|
| RuntimeLevel |