SpeechSynthesizer.SpeakSsmlAsync(String) Method

Definition

Synthesize speech from SSML synchronously (returns when done synthesizing).

public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult> SpeakSsmlAsync (string ssml);
member this.SpeakSsmlAsync : string -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult>
Public Function SpeakSsmlAsync (ssml As String) As Task(Of SpeechSynthesisResult)

Parameters

ssml
System.String

The SSML to synthesize.

Returns

System.Threading.Tasks.Task<SpeechSynthesisResult>

A task representing the started synthesis operation.

Applies to