Class VpnSDKEmptyAvailableVpnProtocolsException
Exception VpnSDKEmptyAvailableVpnProtocolsException. Fires when SDK construction has detected that no VPN protocols are available on the machine due to OS configuration issues or misconfiguration of the SDK.
Namespace: VpnSDK.Public.Exceptions
Assembly: VpnSDK.dll
Syntax
public class VpnSDKEmptyAvailableVpnProtocolsException : VpnSDKBaseException, ISerializable, _Exception
Constructors
VpnSDKEmptyAvailableVpnProtocolsException(String)
Initializes a new instance of the VpnSDKEmptyAvailableVpnProtocolsException class.
Declaration
public VpnSDKEmptyAvailableVpnProtocolsException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message to pass to the calling code |
VpnSDKEmptyAvailableVpnProtocolsException(String, Exception)
Initializes a new instance of the VpnSDKEmptyAvailableVpnProtocolsException class.
Declaration
public VpnSDKEmptyAvailableVpnProtocolsException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message to pass to the calling code |
| Exception | inner | the exception that we are passing up |
Properties
ErrorCode
Gets the error code.
Declaration
public override int ErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| Int32 | The error code. |