Compartilhar via


SpeechSynthesizer.SpeakTextAsync(String) Método

Definição

Sintetizar fala de texto sem forma síncrona (retorna quando terminar de sintetizar).

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

Parâmetros

text
String

Texto sem formatação para sintetizar.

Retornos

Uma tarefa que representa a operação de síntese concluída.

Aplica-se a