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
UnauthorizedException
Implements
Inherited Members

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