次の方法で共有


class Translation::TranslationRecognitionCanceledEventArgs

class Translation::TranslationRecognitionCanceledEventArgs
  : public Translation::TranslationRecognitionEventArgs

翻訳認識のクラスがイベント引数を取り消しました。

メンバー

理由

構文: public const CancellationReason & Reason;

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

エラーコード

構文: public const CancellationErrorCode & ErrorCode;

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

ErrorDetails

構文: public const std::string ErrorDetails;

認識に失敗した場合のエラー メッセージ (理由 が [エラー] に設定されています)。

TranslationRecognitionCanceledEventArgs

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

コンストラクタ。

パラメーター

  • hevent イベント ハンドル

~TranslationRecognitionCanceledEventArgs

構文: public inline virtual ~TranslationRecognitionCanceledEventArgs ( );