Search Results for

    Show / Hide Table of Contents
    View Source

    Class InstallException

    Used for steps to be able to return a JSON structure back to the UI.

    Inheritance
    object
    Exception
    Namespace: Umbraco.Cms.Core.Install
    Assembly: Umbraco.Core.dll
    Syntax
    public class InstallException : Exception

    Constructors

    View Source

    InstallException()

    Initializes a new instance of the InstallException class.

    Declaration
    public InstallException()
    View Source

    InstallException(string)

    Initializes a new instance of the InstallException class.

    Declaration
    public InstallException(string message)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    View Source

    InstallException(string, Exception)

    Initializes a new instance of the InstallException class.

    Declaration
    public InstallException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    The error message that explains the reason for the exception.

    Exception innerException

    The exception that is the cause of the current exception, or a null reference ( Nothing in Visual Basic) if no inner exception is specified.

    View Source

    InstallException(string, object)

    Initializes a new instance of the InstallException class.

    Declaration
    public InstallException(string message, object viewModel)
    Parameters
    Type Name Description
    string message

    The message.

    object viewModel

    The view model.

    View Source

    InstallException(string, string, object?)

    Initializes a new instance of the InstallException class.

    Declaration
    public InstallException(string message, string view, object? viewModel)
    Parameters
    Type Name Description
    string message

    The message.

    string view

    The view.

    object viewModel

    The view model.

    Properties

    View Source

    View

    Gets the view.

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

    The view.

    View Source

    ViewModel

    Gets the view model.

    Declaration
    public object? ViewModel { get; }
    Property Value
    Type Description
    object

    The view model.

    Remarks

    This object is not included when serializing.

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