Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    UmbracoApplicationStartingNotification(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 Source

    IsRestarting

    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

    true if Umbraco is restarting; otherwise, false.

    View Source

    RuntimeLevel

    Gets the current runtime level of the application.

    Declaration
    public RuntimeLevel RuntimeLevel { get; }
    Property Value
    Type Description
    RuntimeLevel
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX