![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
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.