Class NotAuthorizedException
Exception NotAuthorizedException. Fired when API requests are fired before authenticating a user.
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class NotAuthorizedException : HTTPException
Constructors
NotAuthorizedException(String)
Initializes a new instance of the NotAuthorizedException class.
Declaration
public NotAuthorizedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
NotAuthorizedException(String, Exception)
Initializes a new instance of the NotAuthorizedException class.
Declaration
public NotAuthorizedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
Exception | inner | The exception that we are passing up. |
Properties
Type
Gets the error type.
Declaration
public override ErrorType Type { get; }
Property Value
Type | Description |
---|---|
ErrorType | The error type. |