Class UnauthorizedException
Represents an exception that is thrown when a request is unauthorized.
public class UnauthorizedException : Exception, ISerializable, _Exception
- Inheritance
-
UnauthorizedException
- Implements
- Inherited Members
Constructors
UnauthorizedException()
Initializes a new instance of the UnauthorizedException class.
public UnauthorizedException()
UnauthorizedException(string)
Initializes a new instance of the UnauthorizedException class with a specified error message.
public UnauthorizedException(string message)
Parameters
message
stringThe error message that explains the reason for the exception.
UnauthorizedException(string, Exception)
Initializes a new instance of the UnauthorizedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public UnauthorizedException(string message, Exception inner)