Class StartTunnelError

StartTunnelError enumeration provides different error codes when the StartTunnel() call fails.

Inheritance
        -> System.Object
            -> StartTunnelError

Namespace: Com.Citrix.Mvpn.Api

Assembly: MvpnSdkFormsLibrary.dll

Syntax:

public sealed class StartTunnelError : Enum
<!--NeedCopy-->

Fields

AlreadyRunning

AlreadyRunning is returned when the tunnel is already running and the app tries to call StartTunnel() again.

FoundLegacyMode

FoundLegacyMode is returned when the app tries to call StartTunnel() with LegacyMode enabled.

InvalidPolicy

InvalidPolicy is returned when the app doesn’t have the correct policies.

NoNetworkConnection

NoNetworkConnection is returned if the app tries to start the tunnel without having a network connection.

SessionExpired

SessionExpired is returned when a session expires and the app tries to call StartTunnel().

TunnelFailed

TunnelFailed is returned when StartTunnel() fails for unknown reasons.

Class StartTunnelError