Class AuthenticationException
Exception AuthenticationException. Fired when an authentication request fails due to invalid credentials or Bad Request.
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class AuthenticationException : APIException
Constructors
AuthenticationException(String)
Initializes a new instance of the AuthenticationException class.
Declaration
public AuthenticationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
AuthenticationException(String, Exception)
Initializes a new instance of the AuthenticationException class.
Declaration
public AuthenticationException(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. |