class Intent::IntentRecognitionCanceledEventArgs
class Intent::IntentRecognitionCanceledEventArgs
: public Intent::IntentRecognitionEventArgs
Class for intent recognition canceled event arguments.
Members
Reason
Syntax: public const CancellationReason & Reason;
The reason the result was canceled.
ErrorCode
Syntax: public const CancellationErrorCode & ErrorCode;
The error code in case of an unsuccessful recognition (Reason is set to Error). If Reason is not Error, ErrorCode is set to NoError. Added in version 1.1.0.
ErrorDetails
Syntax: public const std::string ErrorDetails;
The error message in case of an unsuccessful recognition (Reason is set to Error).
IntentRecognitionCanceledEventArgs
Syntax: public inline explicit IntentRecognitionCanceledEventArgs ( SPXEVENTHANDLE hevent );
Constructor.
Parameters
hevent
Event handle
~IntentRecognitionCanceledEventArgs
Syntax: public inline virtual ~IntentRecognitionCanceledEventArgs ( );