SpeechSynthesizer.StopSpeakingAsync Method

Definition

Stop speech synthesis.

public System.Threading.Tasks.Task StopSpeakingAsync ();
member this.StopSpeakingAsync : unit -> System.Threading.Tasks.Task
Public Function StopSpeakingAsync () As Task

Returns

A task representing the asynchronous operation that stops the synthesis.

Remarks

This method stops audio speech synthesis and discards any unread data in PullAudioOutputStream.

Applies to