• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • VpnSDK
      • AccountMetadataException
      • APIException
      • ApiTimeoutException
      • AuthenticationException
      • BaseSDKException
      • ConnectionAlreadyEstablishedException
      • ConnectionConfigurationBuilderBase
      • ConnectionException
      • ConnectionTerminatedException
      • CoreException
      • DataTransferEventArgs
      • DnsConfigurationException
      • DoubleHopException
      • DoubleHopNotAvailableException
      • EmptyAvailableVpnProtocolsException
      • EndpointsUnreachableException
      • FetchLocationsException
      • HTTPException
      • InvalidAccountException
      • InvalidConfigurationException
      • InvalidDoubleHopConfigurationException
      • InvalidServerException
      • NotAuthorizedException
      • NotElevatedException
      • NullLocationException
      • OAuthException
      • OpenVpnConnectionConfigurationBuilder
      • RasConnectionConfigurationBuilder
      • ReconnectOnPowerEventException
      • SDKBuilder<T>
      • SDKChangeEventHandler<T>
      • SDKEventHandler
      • SDKEventHandler<T>
      • SDKOperationEventHandler
      • SDKOperationEventHandler<T>
      • ServerListException
      • TapAdapterException
      • UnknownErrorException
      • UnsupportedProtocolException
      • VPNAuthenticationException
      • VpnException
      • VpnHostServiceException
      • VpnHostServiceFileNotFoundException
      • WFPException
      • WireGuardAPIException
      • WireGuardConnectionConfigurationBuilder
    • VpnSDK.Common.Dns
      • DnsResolutionResult
      • IDnsRequestResolver
    • VpnSDK.Common.Enums
      • SplitTunnelMode
    • VpnSDK.Common.Settings
      • SplitTunnelApp
      • SplitTunnelDomain
    • VpnSDK.DTO
      • ApiHttpError
      • ApiProxyError
      • ConnectionError
      • ISDKError
      • NetworkGeolocation
      • OpenVpnConfiguration
      • RasConfiguration
      • WireguardConfiguration
    • VpnSDK.Enums
      • AccountStatus
      • AuthenticationStatus
      • ConnectionStatus
      • DnsFilteringMode
      • DriverInstallResult
      • DriverUninstallResult
      • ErrorType
      • LoadLevel
      • NetworkConnectionType
      • NetworkProtocolType
      • OpenVpnCipherType
      • OpenVpnLogLevel
      • OperationStatus
      • RefreshLocationListStatus
    • VpnSDK.Extensions
      • ExceptionExtensions
      • LocationExtensions
      • RegionLoadChecker
    • VpnSDK.Helpers
      • BatchPingUtility
      • VersionHelper
      • VpnProtocolDiagnostics
    • VpnSDK.Interfaces
      • IBestAvailable
      • IConnectionConfiguration
      • IConnectionInfo
      • IDoubleHopConfiguration
      • ILocation
      • IOpenVpnConnectionConfiguration
      • IRasConnectionConfiguration
      • IRegion
      • ISDK
      • IUser
      • IWireGuardConnectionConfiguration

    Class InvalidAccountException

    Represents an exception thrown when an invalid account is encountered.

    Inheritance
    System.Object
    BaseSDKException
    HTTPException
    InvalidAccountException
    Namespace: VpnSDK
    Assembly: cs.temp.dll.dll
    Syntax
    public class InvalidAccountException : HTTPException

    Constructors

    InvalidAccountException(String, Exception, Nullable<AccountStatus>)

    Initializes a new instance of the InvalidAccountException class.

    Declaration
    public InvalidAccountException(string message, Exception inner, AccountStatus? accountStatus = default(AccountStatus? ))
    Parameters
    Type Name Description
    System.String message

    The message to pass to the calling code.

    Exception inner

    The exception that we are passing up.

    System.Nullable<AccountStatus> accountStatus

    The status of the account associated with the exception AccountStatus.

    InvalidAccountException(String, Nullable<AccountStatus>)

    Initializes a new instance of the InvalidAccountException class.

    Declaration
    public InvalidAccountException(string message, AccountStatus? accountStatus = default(AccountStatus? ))
    Parameters
    Type Name Description
    System.String message

    The message to pass to the calling code.

    System.Nullable<AccountStatus> accountStatus

    The status of the account associated with the exception AccountStatus.

    Properties

    AccountStatus

    Gets the status of the account AccountStatus.

    Declaration
    public AccountStatus? AccountStatus { get; }
    Property Value
    Type Description
    System.Nullable<AccountStatus>

    Type

    Gets the error type.

    Declaration
    public override ErrorType Type { get; }
    Property Value
    Type Description
    ErrorType

    The error type.

    Overrides
    BaseSDKException.Type
    In This Article
    Back to top VpnSDK v2 Documentation - © 2023 WLVPN