共用方式為


SynthesisResult class

合成結果的基類

建構函式

SynthesisResult(string, ResultReason, string, PropertyCollection)

建立並初始化這個類別的實例。

屬性

errorDetails

如果合成失敗,請提供所發生錯誤的詳細數據。

properties

結果中公開的屬性集。

reason

指定結果的狀態。

resultId

指定結果標識碼。

建構函式詳細資料

SynthesisResult(string, ResultReason, string, PropertyCollection)

建立並初始化這個類別的實例。

new SynthesisResult(resultId?: string, reason?: ResultReason, errorDetails?: string, properties?: PropertyCollection)

參數

resultId

string

結果標識碼。

reason
ResultReason

原因。

errorDetails

string

如果提供錯誤詳細資料, 則為 。

properties
PropertyCollection

如果提供其他屬性,則為 。

屬性詳細資料

errorDetails

如果合成失敗,請提供所發生錯誤的詳細數據。

string errorDetails

屬性值

string

錯誤的簡短描述。

properties

結果中公開的屬性集。

PropertyCollection properties

屬性值

結果中公開的屬性集。

reason

指定結果的狀態。

ResultReason reason

屬性值

指定結果的狀態。

resultId

指定結果標識碼。

string resultId

屬性值

string

指定結果標識碼。