Show / Hide Table of Contents

    Class UnauthorizedException

    The exception that is thrown when the requirements of an HTTP WWW-Authenticated header is not meet.

    Inheritance
    System.Object
    System.Exception
    HttpStatusCodeException
    UnauthorizedException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    HttpStatusCodeException.StatusCode
    System.Exception.GetBaseException()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    Namespace: Cuemon.AspNetCore.Authentication
    Assembly: Cuemon.AspNetCore.Authentication.dll
    Syntax
    public class UnauthorizedException : HttpStatusCodeException, ISerializable

    Constructors

    | Improve this Doc

    UnauthorizedException(Int32, String)

    Initializes a new instance of the UnauthorizedException class.

    Declaration
    public UnauthorizedException(int statusCode, string message)
    Parameters
    Type Name Description
    System.Int32 statusCode

    The HTTP status code to associate with this exception.

    System.String message

    The message that describes the HTTP status code.

    Implements

    System.Runtime.Serialization.ISerializable

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)

    See Also

    HttpStatusCodeException
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX