Share via


IntentRecognitionCanceledEventArgs class

Amaç tanıma iptal edilen sonuç olaylarının yükünü tanımlayın.

Extends

Oluşturucular

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

Bu sınıfın bir örneğini oluşturur ve başlatır.

Özellikler

errorCode

Başarısız bir tanıma durumunda hata kodu. Sürüm 1.1.0'da eklendi.

errorDetails

Başarısız bir tanıma durumunda, oluşan hatanın ayrıntılarını sağlar.

offset

İleti uzaklığını temsil eder

reason

Tanımanın iptal edilme nedeni.

result

Amaç tanıma sonucunu temsil eder.

sessionId

Oturum tanımlayıcısını temsil eder.

Oluşturucu Ayrıntıları

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

Bu sınıfın bir örneğini oluşturur ve başlatır.

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

Parametreler

errorDetails

string

result
IntentRecognitionResult

Amaç tanımanın sonucu.

offset

number

Uzaklık.

sessionId

string

Oturum kimliği.

Özellik Ayrıntıları

errorCode

Başarısız bir tanıma durumunda hata kodu. Sürüm 1.1.0'da eklendi.

CancellationErrorCode errorCode

Özellik Değeri

Hata nedenini temsil eden bir hata kodu.

errorDetails

Başarısız bir tanıma durumunda, oluşan hatanın ayrıntılarını sağlar.

string errorDetails

Özellik Değeri

string

Hata ayrıntılarını temsil eden bir Dize.

offset

İleti uzaklığını temsil eder

number offset

Özellik Değeri

number

reason

Tanımanın iptal edilme nedeni.

CancellationReason reason

Özellik Değeri

İptal edilen nedeni belirtir.

result

Amaç tanıma sonucunu temsil eder.

IntentRecognitionResult result

Özellik Değeri

Amaç tanıma sonucunu temsil eder.

sessionId

Oturum tanımlayıcısını temsil eder.

string sessionId

Özellik Değeri

string

Oturum tanımlayıcısını temsil eder.