SpeechSynthesizer.StartSpeakingSsmlAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).