• 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 VpnSDKConnectionAlreadyEstablishedException

    Exception VpnSDKConnectionAlreadyEstablishedException. Fires when a VPN connection request is called when a connection is already established.

    Inheritance
    Object
    Exception
    VpnSDKBaseException
    VpnSDKConnectionAlreadyEstablishedException
    Implements
    ISerializable
    _Exception
    Namespace: VpnSDK.Public.Exceptions
    Assembly: VpnSDK.dll
    Syntax
    public class VpnSDKConnectionAlreadyEstablishedException : VpnSDKBaseException, ISerializable, _Exception

    Constructors

    VpnSDKConnectionAlreadyEstablishedException(String)

    Initializes a new instance of the VpnSDKConnectionAlreadyEstablishedException class.

    Declaration
    public VpnSDKConnectionAlreadyEstablishedException(string message)
    Parameters
    Type Name Description
    String message

    The message to pass to the calling code

    VpnSDKConnectionAlreadyEstablishedException(String, Exception)

    Initializes a new instance of the VpnSDKConnectionAlreadyEstablishedException class.

    Declaration
    public VpnSDKConnectionAlreadyEstablishedException(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.

    Overrides
    VpnSDKBaseException.ErrorCode

    Implements

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

    Extension Methods

    ExceptionExtensions.GetAllExceptions(Exception)
    ExceptionExtensions.GetAllExceptionMessages(Exception)

    See Also

    Exception
    VpnSDKBaseException
    Back to top Pre-release documentation. These do not represent the final product and are subject to change.