Interface IStartTunnelCallback

Last published : Oct 31, 2026
IStartTunnelCallback provides a callback interface for the StartTunnel() call.
Namespace: Com.Citrix.Mvpn.Api
Assembly: MvpnSdkFormsLibrary.dll
Syntax:
public interface IStartTunnelCallback

Methods

OnError(StartTunnelError)
OnError() callback method is called when the tunnel fails to start for any reason. StartTunnelError passes the error codes returned from the StartTunnel() call.
Declaration:
void OnError(StartTunnelError error)
Parameters:
Type Name Description
StartTunnelError Error StartTunnelError parameter contains the error code returned from calling the StartTunnel() method.
OnSuccess()
The OnSuccess() callback method is called when the tunnel starts successfully.
Declaration:
void OnSuccess()