Raised when the SpeechSynthesizer completes the speaking of a prompt.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Event SpeakCompleted As EventHandler(Of SpeakCompletedEventArgs) |
Visual Basic (Usage) |
---|
Dim instance As SpeechSynthesizer Dim handler As EventHandler(Of SpeakCompletedEventArgs) AddHandler instance.SpeakCompleted, handler |
C# |
---|
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.