Dela via


SpeechSynthesizer.StartSpeakingSsmlAsync(String) Method

Definition

Queue speech synthesis task from SSML as an asynchronous operation.

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

Parameters

ssml
String

The SSML to synthesize.

Returns

A task representing the started synthesis operation.

Remarks

This method is the asynchronous version of SpeakSsmlAsync(String).

Applies to