SpeechSynthesizer::StateChanged Event

 

Raised when the state of the SpeechSynthesizer changes.

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

public:
event EventHandler<StateChangedEventArgs^>^ StateChanged {
	void add(EventHandler<StateChangedEventArgs^>^ value);
	void remove(EventHandler<StateChangedEventArgs^>^ value);
}

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.

.NET Framework
Available since 3.0
Return to top
Show: