Share via


クラス Intent::IntentRecognitionCanceledEventArgs

class Intent::IntentRecognitionCanceledEventArgs
  : public Intent::IntentRecognitionEventArgs

意図認識が取り消されたイベント引数のクラス。

メンバー

理由

構文: public const CancellationReason & Reason;

結果が取り消された理由。

ErrorCode

構文: public const CancellationErrorCode & ErrorCode;

認識が失敗した場合のエラー コード (Reason は Error に設定されています)。 Reason が Error でない場合、ErrorCode は NoError に設定されます。 バージョン 1.1.0 で追加されました。

ErrorDetails

構文: public const std::string ErrorDetails;

認識に失敗した場合のエラー メッセージ (Reason は Error に設定されています)。

IntentRecognitionCanceledEventArgs

構文: public inline explicit IntentRecognitionCanceledEventArgs ( SPXEVENTHANDLE hevent );

コンストラクターです。

パラメーター

  • hevent イベント ハンドル

~IntentRecognitionCanceledEventArgs

構文: public inline virtual ~IntentRecognitionCanceledEventArgs ( );