Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
SpeechSynthesizer.SpeakCompleted Event
Raised when the SpeechSynthesizer completes the speaking of a prompt.
Namespace: Microsoft.Speech.Synthesis
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Public Event SpeakCompleted As EventHandler(Of SpeakCompletedEventArgs)
'Usage
Dim instance As SpeechSynthesizer
Dim handler As EventHandler(Of SpeakCompletedEventArgs)
AddHandler instance.SpeakCompleted, handler
public event EventHandler<SpeakCompletedEventArgs> SpeakCompleted
Remarks
The SpeechSynthesizer raises the SpeakCompleted event at the completion of any of the SpeakAsync() or SpeakSsmlAsync(String) methods. You can write handlers for the SpeakCompleted event using SpeakCompletedEventArgs.