Κοινή χρήση μέσω


SpeechSynthesizer.StateChanged Event

Definition

Raised when the state of the SpeechSynthesizer changes.

public:
 event EventHandler<System::Speech::Synthesis::StateChangedEventArgs ^> ^ StateChanged;
public event EventHandler<System.Speech.Synthesis.StateChangedEventArgs> StateChanged;
member this.StateChanged : EventHandler<System.Speech.Synthesis.StateChangedEventArgs> 
Public Custom Event StateChanged As EventHandler(Of StateChangedEventArgs) 

Event Type

Remarks

The SpeechSynthesizer raises this event when its speaking State changes. For an example and more information about data associated with the event, see StateChangedEventArgs.

To pause and resume speech synthesis, use the Pause and Resume methods.

Applies to