Class VpnSDKUnsupportedProtocolException
Exception VpnSDKUnsupportedProtocolException. Fired when a connection request is using an invalid or unconfigured protocol.
Namespace: VpnSDK.Public.Exceptions
Assembly: VpnSDK.dll
Syntax
public class VpnSDKUnsupportedProtocolException : VpnSDKBaseException, ISerializable, _Exception
Constructors
VpnSDKUnsupportedProtocolException(String)
Initializes a new instance of the VpnSDKUnsupportedProtocolException class.
Declaration
public VpnSDKUnsupportedProtocolException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message to pass to the calling code |
VpnSDKUnsupportedProtocolException(String, Exception)
Initializes a new instance of the VpnSDKUnsupportedProtocolException class.
Declaration
public VpnSDKUnsupportedProtocolException(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. |