| AnyConnect Secure Mobility Client COM API 5.1.1.42

- Main Page
- Modules
- Classes
- Files

- Class List
- Class Hierarchy

Public Member Functions

# IVpnApiEvents Interface Reference
COM API

`import "VpnApi.idl";`

List of all members.

## Public Member Functions
HRESULT | VpnStatsNotification ([in] IVpnStats *pVpnStats)
HRESULT | VpnStateNotification ([in] enum VPNState eState,[in] enum VPNSubState eSubState,[in] BSTR strState)
HRESULT | VpnBannerNotification ([in] BSTR strBannerMessage)
HRESULT | VpnNoticeNotification ([in] BSTR strNoticeMessage,[in] enum MessageType eMessageType)
HRESULT | VpnExitNotification ([in] BSTR strExitMessage,[in] long exitCode)
HRESULT | VpnServiceReadyNotification ()
HRESULT | VpnUserPromptNotification ([in] IConnectPromptInfo *pConnectPromptInfo)
HRESULT | VpnWMHintNotification ([in] enum WMHint eHint,[in] enum WMHintReason eReason)
HRESULT | VpnWebLaunchHostNotification ([in] BSTR strActiveHost)
HRESULT | VpnEventAvailableNotification ()
HRESULT | VpnCertBlockedNotification ([in] BSTR strUntrustedServer)
HRESULT | VpnCertWarningNotification ([in] BSTR strUntrustedServer,[in] IStringCollection *pCertErrors,[in] VARIANT_BOOL bImportAllowed)
HRESULT | VpnPreConnectReminderNotification ([in] BSTR strPreConnectReminderMessage)

## Detailed Description

interface IVpnApiEvents Cisco Secure Client - AnyConnect VPN API Event Callback IDispatch interface specification. This is the VPN API COM Event Callback interface that a developer implements and passes to the COM Server using the Attach, RegisterAndAttach, or indirectly via connection points in languages such as C#.