SpeechSynthesizer.SpeakSsmlAsync(String) Method

Definition

Synthesize speech from SSML asynchronously (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
String

The SSML to synthesize.

Returns

A task representing the completed synthesis operation.

Applies to