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

SpeechSynthesisCancellationDetails.FromResult(SpeechSynthesisResult) 方法

定义

为取消的 SpeechSynthesisResult 创建 SpeechSynthesisCancellationDetails 对象的实例。

public static Microsoft.CognitiveServices.Speech.SpeechSynthesisCancellationDetails FromResult (Microsoft.CognitiveServices.Speech.SpeechSynthesisResult result);
static member FromResult : Microsoft.CognitiveServices.Speech.SpeechSynthesisResult -> Microsoft.CognitiveServices.Speech.SpeechSynthesisCancellationDetails
Public Shared Function FromResult (result As SpeechSynthesisResult) As SpeechSynthesisCancellationDetails

参数

result
SpeechSynthesisResult

已取消的结果。

返回

正在创建的 CancellationDetails 对象。

适用于