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) 

事件类型

注解

当其说话State发生更改时,将SpeechSynthesizer引发此事件。 有关与事件关联的数据的示例和详细信息,请参阅 StateChangedEventArgs

若要暂停和恢复语音合成,请使用 PauseResume 方法。

适用于