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
ExceptionThe 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
StringThe message that describes the HTTP status code.
innerException
ExceptionThe exception that is the cause of the current exception.