다음을 통해 공유


IntentRecognitionCanceledEventArgs class

의도 인식 취소된 결과 이벤트의 페이로드를 정의합니다.

Extends

생성자

IntentRecognitionCanceledEventArgs(CancellationReason, string, CancellationErrorCode, IntentRecognitionResult, number, string)

이 클래스의 인스턴스를 만들고 초기화합니다.

속성

errorCode

인식에 실패한 경우의 오류 코드입니다. 버전 1.1.0에 추가되었습니다.

errorDetails

인식에 실패한 경우 발생한 오류에 대한 세부 정보를 제공합니다.

offset

메시지 오프셋을 나타냅니다.

reason

인식이 취소된 이유입니다.

result

의도 인식 결과를 나타냅니다.

sessionId

세션 식별자를 나타냅니다.

생성자 세부 정보

IntentRecognitionCanceledEventArgs(CancellationReason, string, CancellationErrorCode, IntentRecognitionResult, number, string)

이 클래스의 인스턴스를 만들고 초기화합니다.

new IntentRecognitionCanceledEventArgs(reason: CancellationReason, errorDetails: string, errorCode: CancellationErrorCode, result?: IntentRecognitionResult, offset?: number, sessionId?: string)

매개 변수

errorDetails

string

result
IntentRecognitionResult

의도 인식의 결과입니다.

offset

number

오프셋입니다.

sessionId

string

세션 ID입니다.

속성 세부 정보

errorCode

인식에 실패한 경우의 오류 코드입니다. 버전 1.1.0에 추가되었습니다.

CancellationErrorCode errorCode

속성 값

오류 이유를 나타내는 오류 코드입니다.

errorDetails

인식에 실패한 경우 발생한 오류에 대한 세부 정보를 제공합니다.

string errorDetails

속성 값

string

오류 세부 정보를 나타내는 문자열입니다.

offset

메시지 오프셋을 나타냅니다.

number offset

속성 값

number

reason

인식이 취소된 이유입니다.

CancellationReason reason

속성 값

취소된 이유를 지정합니다.

result

의도 인식 결과를 나타냅니다.

IntentRecognitionResult result

속성 값

의도 인식 결과를 나타냅니다.

sessionId

세션 식별자를 나타냅니다.

string sessionId

속성 값

string

세션 식별자를 나타냅니다.