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
    System.String
    View Source

    FinalMigrationState

    Gets the final migration state.

    Declaration
    string FinalMigrationState { get; }
    Property Value
    Type Description
    System.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<System.String, System.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
    System.String

    Methods

    View Source

    Configure(RuntimeLevel, RuntimeLevelReason, Nullable<Exception>)

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

    DetermineRuntimeLevel()

    Determines the runtime level.

    Declaration
    void DetermineRuntimeLevel()
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • BootFailedException
      • CurrentMigrationState
      • FinalMigrationState
      • Level
      • Reason
      • SemanticVersion
      • StartupState
      • Version
      • VersionComment
    • Methods
      • Configure(RuntimeLevel, RuntimeLevelReason, Nullable<Exception>)
      • DetermineRuntimeLevel()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX