Search Results for

    Show / Hide Table of Contents
    View Source

    Class InstallLog

    Represents an installation or upgrade log entry.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core
    Assembly: Umbraco.Core.dll
    Syntax
    public class InstallLog

    Constructors

    View Source

    InstallLog(Guid, bool, bool, DateTime, int, int, int, string, string, string?, string)

    Initializes a new instance of the InstallLog class.

    Declaration
    public InstallLog(Guid installId, bool isUpgrade, bool installCompleted, DateTime timestamp, int versionMajor, int versionMinor, int versionPatch, string versionComment, string error, string? userAgent, string dbProvider)
    Parameters
    Type Name Description
    Guid installId

    The unique identifier for this installation.

    bool isUpgrade

    Whether this is an upgrade from a previous version.

    bool installCompleted

    Whether the installation completed successfully.

    DateTime timestamp

    The timestamp of the installation.

    int versionMajor

    The major version number.

    int versionMinor

    The minor version number.

    int versionPatch

    The patch version number.

    string versionComment

    A comment about the version (e.g., pre-release tag).

    string error

    Any error message from the installation.

    string userAgent

    The user agent string from the browser performing the installation.

    string dbProvider

    The database provider being used.

    Properties

    View Source

    DbProvider

    Gets or sets the database provider being used.

    Declaration
    public string DbProvider { get; set; }
    Property Value
    Type Description
    string
    View Source

    Error

    Gets any error message from the installation, or an empty string if no error occurred.

    Declaration
    public string Error { get; }
    Property Value
    Type Description
    string
    View Source

    InstallCompleted

    Gets or sets a value indicating whether the installation completed successfully.

    Declaration
    public bool InstallCompleted { get; set; }
    Property Value
    Type Description
    bool
    View Source

    InstallId

    Gets the unique identifier for this installation.

    Declaration
    public Guid InstallId { get; }
    Property Value
    Type Description
    Guid
    View Source

    IsUpgrade

    Gets or sets a value indicating whether this is an upgrade from a previous version.

    Declaration
    public bool IsUpgrade { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Timestamp

    Gets or sets the timestamp of the installation.

    Declaration
    public DateTime Timestamp { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    UserAgent

    Gets the user agent string from the browser performing the installation.

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

    VersionComment

    Gets a comment about the version (e.g., pre-release tag like "beta").

    Declaration
    public string VersionComment { get; }
    Property Value
    Type Description
    string
    View Source

    VersionMajor

    Gets the major version number of the installed version.

    Declaration
    public int VersionMajor { get; }
    Property Value
    Type Description
    int
    View Source

    VersionMinor

    Gets the minor version number of the installed version.

    Declaration
    public int VersionMinor { get; }
    Property Value
    Type Description
    int
    View Source

    VersionPatch

    Gets the patch version number of the installed version.

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