ConversationTranslationCanceledEventArgs Class

Definition

Contains a payload for the Canceled event. Added in 1.9.0

public sealed class ConversationTranslationCanceledEventArgs : Microsoft.CognitiveServices.Speech.Transcription.ConversationTranslationEventArgs
type ConversationTranslationCanceledEventArgs = class
    inherit ConversationTranslationEventArgs
Public NotInheritable Class ConversationTranslationCanceledEventArgs
Inherits ConversationTranslationEventArgs
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 recognition was canceled.

Result

Gets the conversation translation result.

(Inherited from ConversationTranslationEventArgs)
SessionId

Represents the session identifier.

(Inherited from SessionEventArgs)

Methods

ToString()

Returns a string that represents the conversation translation event.

(Inherited from ConversationTranslationEventArgs)

Applies to