Table of Contents

Class UnauthorizedException

Namespace
Cuemon.AspNetCore.Http
Assembly
Cuemon.AspNetCore.dll

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

public class UnauthorizedException : HttpStatusCodeException, ISerializable
Inheritance
Object
Exception
UnauthorizedException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState

Constructors

UnauthorizedException()

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException()

UnauthorizedException(Exception)

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

UnauthorizedException(String, Exception)

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException(string message, Exception innerException = null)

Parameters

message String

The message that describes the HTTP status code.

innerException Exception

The exception that is the cause of the current exception.

See Also