SpeechSynthesizer.StartSpeakingTextAsync(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 plain text as an asynchronous operation.
public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult> StartSpeakingTextAsync (string text);
member this.StartSpeakingTextAsync : string -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.SpeechSynthesisResult>
Public Function StartSpeakingTextAsync (text As String) As Task(Of SpeechSynthesisResult)
Parameters
- text
- String
The plain text to synthesize.
Returns
A task representing the started synthesis operation.
Remarks
This method is the asynchronous version of SpeakTextAsync(String).