TranslationRecognitionCanceledEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains payload of translation text result recognition canceled result events.
public sealed class TranslationRecognitionCanceledEventArgs : Microsoft.CognitiveServices.Speech.Translation.TranslationRecognitionEventArgs
type TranslationRecognitionCanceledEventArgs = class
inherit TranslationRecognitionEventArgs
Public NotInheritable Class TranslationRecognitionCanceledEventArgs
Inherits TranslationRecognitionEventArgs
- Inheritance
-
TranslationRecognitionCanceledEventArgs
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 recognition was canceled. |
Result |
Specifies the recognition result. (Inherited from TranslationRecognitionEventArgs) |
SessionId |
Represents the session identifier. (Inherited from SessionEventArgs) |
Methods
ToString() |
Returns a string that represents the speech recognition result event. |
Applies to
Azure SDK for .NET