Raised when the SpeechSynthesizer begins the speaking of a prompt.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Event SpeakStarted As EventHandler(Of SpeakStartedEventArgs) |
Visual Basic (Usage) |
---|
Dim instance As SpeechSynthesizer Dim handler As EventHandler(Of SpeakStartedEventArgs) AddHandler instance.SpeakStarted, handler |
C# |
---|
public event EventHandler<SpeakStartedEventArgs> SpeakStarted |
Remarks
The SpeechSynthesizer raises this event when it begins processing a prompt using any of the Speak()()()(), SpeakAsync()()()(), SpeakSsml(String), or SpeakSsmlAsync(String) methods. For information about data associated with the event, see SpeakStartedEventArgs.