SpeechRecognitionCanceledEventArgs クラス

定義

音声認識が取り消された結果イベントのペイロードが含まれます。

public sealed class SpeechRecognitionCanceledEventArgs : Microsoft.CognitiveServices.Speech.SpeechRecognitionEventArgs
type SpeechRecognitionCanceledEventArgs = class
    inherit SpeechRecognitionEventArgs
Public NotInheritable Class SpeechRecognitionCanceledEventArgs
Inherits SpeechRecognitionEventArgs
継承

プロパティ

ErrorCode

認識に失敗した場合のエラー コード (Reason が Error に設定されています)。 Reason が Error でない場合、ErrorCode は NoError を返します。 1.1.0 で追加

ErrorDetails

認識に失敗した場合のエラー メッセージ (Reason が Error に設定されています)。

Offset

メッセージ オフセットをティック単位 (100 ナノ秒) で表します。

(継承元 RecognitionEventArgs)
Reason

認識が取り消された理由。

Result

認識結果を指定します。

(継承元 SpeechRecognitionEventArgs)
SessionId

セッション識別子を表します。

(継承元 SessionEventArgs)

メソッド

ToString()

音声認識結果イベントを表す文字列を返します。

適用対象