Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConfigurationException

    An exception that is thrown if the configuration is wrong.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Exceptions
    Assembly: Umbraco.Core.dll
    Syntax
    public class ConfigurationException : Exception

    Constructors

    View Source

    ConfigurationException(SerializationInfo, StreamingContext)

    Initializes a new instance of the ConfigurationException class.

    Declaration
    protected ConfigurationException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    View Source

    ConfigurationException(String)

    Initializes a new instance of the ConfigurationException class with a specified error message.

    Declaration
    public ConfigurationException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    View Source

    ConfigurationException(String, Exception)

    Initializes a new instance of the ConfigurationException class with a specified error message and a reference to the inner exception which is the cause of this exception.

    Declaration
    public ConfigurationException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    Exception innerException

    The inner exception, or null.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ConfigurationException(SerializationInfo, StreamingContext)
      • ConfigurationException(String)
      • ConfigurationException(String, Exception)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX