你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConversationTranscriptionCanceledEventArgs 类

定义

包含会话 transcriber 取消的结果事件的有效负载。

public sealed class ConversationTranscriptionCanceledEventArgs : Microsoft.CognitiveServices.Speech.Transcription.ConversationTranscriptionEventArgs
type ConversationTranscriptionCanceledEventArgs = class
    inherit ConversationTranscriptionEventArgs
Public NotInheritable Class ConversationTranscriptionCanceledEventArgs
Inherits ConversationTranscriptionEventArgs
继承

属性

ErrorCode

识别 (Reason 失败时,错误代码设置为“错误) ”。 如果 Reason 不是 Error,则 ErrorCode 返回 NoError。

ErrorDetails

如果识别 (Reason 失败,则错误消息设置为“错误) 。

Offset

表示消息偏移量(以刻度为单位 (100 纳秒) )。

(继承自 RecognitionEventArgs)
Reason

取消结果的原因。

Result

表示会话听录结果。

(继承自 ConversationTranscriptionEventArgs)
SessionId

表示会话标识符。

(继承自 SessionEventArgs)

方法

ToString()

返回表示会话 ID 和会话听录结果事件的字符串。

适用于