Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IRuntimeState

    Represents the state of the Umbraco runtime.

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IRuntimeState

    Properties

    View Source

    BootFailedException

    Gets the exception that caused the boot to fail.

    Declaration
    BootFailedException? BootFailedException { get; }
    Property Value
    Type Description
    BootFailedException
    View Source

    CurrentMigrationState

    Gets the current migration state.

    Declaration
    string? CurrentMigrationState { get; }
    Property Value
    Type Description
    string
    View Source

    FinalMigrationState

    Gets the final migration state.

    Declaration
    string? FinalMigrationState { get; }
    Property Value
    Type Description
    string
    View Source

    Level

    Gets the runtime level of execution.

    Declaration
    RuntimeLevel Level { get; }
    Property Value
    Type Description
    RuntimeLevel
    View Source

    Reason

    Gets the reason for the runtime level of execution.

    Declaration
    RuntimeLevelReason Reason { get; }
    Property Value
    Type Description
    RuntimeLevelReason
    View Source

    SemanticVersion

    Gets the semantic version of the executing code.

    Declaration
    SemVersion SemanticVersion { get; }
    Property Value
    Type Description
    SemVersion
    View Source

    StartupState

    Returns any state data that was collected during startup

    Declaration
    IReadOnlyDictionary<string, object> StartupState { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, object>
    View Source

    Version

    Gets the version of the executing code.

    Declaration
    Version Version { get; }
    Property Value
    Type Description
    Version
    View Source

    VersionComment

    Gets the version comment of the executing code.

    Declaration
    string VersionComment { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    Configure(RuntimeLevel, RuntimeLevelReason, Exception?)

    Declaration
    void Configure(RuntimeLevel level, RuntimeLevelReason reason, Exception? bootFailedException = null)
    Parameters
    Type Name Description
    RuntimeLevel level
    RuntimeLevelReason reason
    Exception bootFailedException
    View Source

    DetermineRuntimeLevel()

    Determines the runtime level.

    Declaration
    void DetermineRuntimeLevel()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX