• Guides & Articles
  • API Documentation

    Show / Hide Table of Contents
    • VpnSDK.Public
      • OpenVpnConfiguration
      • OpenVpnConnectionConfigurationBuilder
      • PositionInfoEventArgs
      • RasConfiguration
      • RasConnectionConfigurationBuilder
      • SDKBuilder
    • VpnSDK.Public.Enums
      • AuthenticationStatus
      • ConnectionStatus
      • NetworkConnectionType
      • NetworkProtocolType
      • OpenVpnCipherType
      • PositionInfoStatus
      • RefreshLocationListStatus
    • VpnSDK.Public.Exceptions
      • VpnSDKAPIException
      • VpnSDKAuthenticationException
      • VpnSDKBaseException
      • VpnSDKConnectionAlreadyEstablishedException
      • VpnSDKConnectionException
      • VpnSDKConnectionTerminatedException
      • VpnSDKCoreException
      • VpnSDKEmptyAvailableVpnProtocolsException
      • VpnSDKFetchLocationsException
      • VpnSDKInvalidConfigurationException
      • VpnSDKNotAuthorizedException
      • VpnSDKNullLocationException
      • VpnSDKOAuthException
      • VpnSDKUnsupportedProtocolException
      • VpnSDKVPNAuthenticationException
    • VpnSDK.Public.Extensions
      • ExceptionExtensions
      • LoadLevel
      • RegionLoadChecker
    • VpnSDK.Public.Helpers
      • VpnProtocolDiagnostics
    • VpnSDK.Public.Interfaces
      • IBestAvailable
      • IConnectionConfiguration
      • ILocation
      • IOpenVpnConnectionConfiguration
      • IRasConnectionConfiguration
      • IRegion
      • ISDK
      • IServer
      • IUser
    • VpnSDK.Public.Messages
      • RefreshLocationListMessage

    Class VpnSDKBaseException

    Class VpnSDKBaseException. Used as a base class for all SDK exceptions.

    Inheritance
    Object
    Exception
    VpnSDKBaseException
    VpnSDKAPIException
    VpnSDKAuthenticationException
    VpnSDKConnectionAlreadyEstablishedException
    VpnSDKConnectionException
    VpnSDKConnectionTerminatedException
    VpnSDKCoreException
    VpnSDKEmptyAvailableVpnProtocolsException
    VpnSDKFetchLocationsException
    VpnSDKInvalidConfigurationException
    VpnSDKNotAuthorizedException
    VpnSDKNullLocationException
    VpnSDKOAuthException
    VpnSDKUnsupportedProtocolException
    VpnSDKVPNAuthenticationException
    Implements
    ISerializable
    _Exception
    Namespace: VpnSDK.Public.Exceptions
    Assembly: VpnSDK.dll
    Syntax
    public abstract class VpnSDKBaseException : Exception, ISerializable, _Exception

    Constructors

    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.

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    Extension Methods

    ExceptionExtensions.GetAllExceptions(Exception)
    ExceptionExtensions.GetAllExceptionMessages(Exception)
    Back to top Pre-release documentation. These do not represent the final product and are subject to change.