Class VpnSDKBaseException
Class VpnSDKBaseException. Used as a base class for all SDK exceptions.
Inheritance
VpnSDKBaseException
      
      
      
      
      
      
      
      
      
      
      
      
      
      
  Namespace: VpnSDK.Public.Exceptions
Assembly: VpnSDK.dll
Syntax
public abstract class VpnSDKBaseException : Exception, ISerializable, _ExceptionConstructors
VpnSDKBaseException(String)
Initializes a new instance of the VpnSDKBaseException class.
Declaration
protected VpnSDKBaseException(string message)Parameters
| Type | Name | Description | 
|---|---|---|
| String | message | The message that describes the error. | 
VpnSDKBaseException(String, Exception)
Initializes a new instance of the VpnSDKBaseException class.
Declaration
protected VpnSDKBaseException(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 abstract int ErrorCode { get; }Property Value
| Type | Description | 
|---|---|
| Int32 | The error code. |