Search Results for

    Show / Hide Table of Contents
    View Source

    Class AuthorizationException

    The exception that is thrown when authorization failed.

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

    Constructors

    View Source

    AuthorizationException()

    Initializes a new instance of the AuthorizationException class.

    Declaration
    public AuthorizationException()
    View Source

    AuthorizationException(SerializationInfo, StreamingContext)

    Initializes a new instance of the AuthorizationException class.

    Declaration
    protected AuthorizationException(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

    AuthorizationException(String)

    Initializes a new instance of the AuthorizationException class.

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

    The message that describes the error.

    View Source

    AuthorizationException(String, Exception)

    Initializes a new instance of the AuthorizationException class.

    Declaration
    public AuthorizationException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.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 ( langword_csharp_Nothing in Visual Basic) if no inner exception is specified.

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