You are here: SwitchKit® Development Environment - TCAP Interface User’s Guide > 6 SKTAL Parameter Classes > Class TCAP_Cancel : public TCAP_Component
Class TCAP_Cancel : public TCAP_Component
Purpose
The purpose of the TCAP_Cancel component is an artificial (at least for ANSI) component that is generated when an invoke operation times out. The ANSI version of TCAP does not have this component; instead, IntelliNet generates this component for the user. The TCAP_Cancel component includes the following methods:
Description
This method returns the context information for a dialogue (that is, its "Dialogue ID"). This information should be copied from the Begin primitive when constructing continue or end dialogues. The user must obtain a Dialogue ID from the stack when initiating a transaction. This is done by calling TCAP_AllocateDialogueID().
Syntax
SKTAL_USHORT GetDialogueID() const;
Input Parameters, Input/Output Parameters, & Output Parameters
None
Return Value
The Dialogue ID as an unsigned short.