ConversationTranscriptionCanceledEventArgs Class

Definition

Contains payload of conversation transcriber canceled result events.

public sealed class ConversationTranscriptionCanceledEventArgs : Microsoft.CognitiveServices.Speech.Transcription.ConversationTranscriptionEventArgs
type ConversationTranscriptionCanceledEventArgs = class
    inherit ConversationTranscriptionEventArgs
Public NotInheritable Class ConversationTranscriptionCanceledEventArgs
Inherits ConversationTranscriptionEventArgs
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.

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 conversation transcription result.

(Inherited from ConversationTranscriptionEventArgs)
SessionId

Represents the session identifier.

(Inherited from SessionEventArgs)

Methods

ToString()

Returns a string that represents the session id and the conversation transcription result event.

Applies to