Share via


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
String

The SSML to synthesize.

Returns

A task representing the started synthesis operation.

Applies to