다음을 통해 공유


class Translation::TranslationRecognitionCanceledEventArgs

class Translation::TranslationRecognitionCanceledEventArgs
  : public Translation::TranslationRecognitionEventArgs

번역 인식에 대한 클래스가 이벤트 인수를 취소했습니다.

멤버

이유

구문: public const CancellationReason & Reason;

결과가 취소된 이유입니다.

ErrorCode

구문: public const CancellationErrorCode & ErrorCode;

인식에 실패한 경우의 오류 코드입니다(이유는 오류로 설정됨). 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 ( );