Class UnauthorizedException
  
This exception is thrown when an unauthenticated user tries to access a resource that requires authentication.
Inheritance
UnauthorizedException
 
Syntax
[Serializable]
[ServiceError(ServiceError.Code.AuthUnauthorized, HttpStatusCode.Unauthorized)]
public class UnauthorizedException : ServiceException, ISerializable, _Exception
 
Constructors
  
UnauthorizedException()
Declaration
public UnauthorizedException()
 
UnauthorizedException(SerializationInfo, StreamingContext)
Declaration
protected UnauthorizedException(SerializationInfo info, StreamingContext context)
 
Parameters
UnauthorizedException(String)
Declaration
public UnauthorizedException(string msg)
 
Parameters
| Type | Name | Description | 
| String | msg |  | 
UnauthorizedException(String, Exception)
Declaration
public UnauthorizedException(string message, Exception innerException)
 
Parameters
UnauthorizedException(ServiceError)
Declaration
public UnauthorizedException(ServiceError error)
 
Parameters