SpeechSynthesizer.StateChanged 事件

定義

變更 SpeechSynthesizer 的狀態時引發。

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) 

事件類型

備註

會在 SpeechSynthesizer 說話 State 變更時引發這個事件。 如需與事件相關聯之資料的範例和詳細資訊,請參閱 StateChangedEventArgs

若要暫停和繼續語音合成,請使用 PauseResume 方法。

適用於