IntentRecognitionCanceledEventArgs Class

Definition

Contains payload of intent recognition canceled result events.

public sealed class IntentRecognitionCanceledEventArgs : Microsoft.CognitiveServices.Speech.Intent.IntentRecognitionEventArgs
type IntentRecognitionCanceledEventArgs = class
    inherit IntentRecognitionEventArgs
Public NotInheritable Class IntentRecognitionCanceledEventArgs
Inherits IntentRecognitionEventArgs
Inheritance

Properties

ErrorCode

The error code in case of an unsuccessful recognition (Reason is set to Error). If Reason is not Error, ErrorCode returns NoError. Added in 1.1.0

ErrorDetails

The error message in case of an unsuccessful recognition (Reason is set to Error).

Offset

Represents the message offset in ticks (100 nanoseconds).

(Inherited from RecognitionEventArgs)
Reason

The reason the result was canceled.

Result

Represents the intent recognition result.

(Inherited from IntentRecognitionEventArgs)
SessionId

Represents the session identifier.

(Inherited from SessionEventArgs)

Methods

ToString()

Returns a string that represents the session id and the intent recognition result event.

Applies to