Class VpnSDKVPNAuthenticationException
Exception VpnSDKVPNAuthenticationException. Fired when an authentication request fails due to API issues.
Namespace: VpnSDK.Public.Exceptions
Assembly: VpnSDK.dll
Syntax
public class VpnSDKVPNAuthenticationException : VpnSDKBaseException, ISerializable, _Exception
Constructors
VpnSDKVPNAuthenticationException(String)
Initializes a new instance of the VpnSDKVPNAuthenticationException class.
Declaration
public VpnSDKVPNAuthenticationException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message. |
VpnSDKVPNAuthenticationException(String, Exception)
Initializes a new instance of the VpnSDKVPNAuthenticationException class.
Declaration
public VpnSDKVPNAuthenticationException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message. |
Exception | inner | The inner exception. |
Properties
ErrorCode
Gets the error code.
Declaration
public override int ErrorCode { get; }
Property Value
Type | Description |
---|---|
Int32 | The error code. |