Compartilhar via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechSynthesizer.SpeakStarted Event

Raised when the SpeechSynthesizer begins the speaking of a prompt.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Event SpeakStarted As EventHandler(Of SpeakStartedEventArgs)
'Usage
Dim instance As SpeechSynthesizer
Dim handler As EventHandler(Of SpeakStartedEventArgs)

AddHandler instance.SpeakStarted, handler
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.

See Also

Reference

SpeechSynthesizer Class

SpeechSynthesizer Members

Microsoft.Speech.Synthesis Namespace