Język

SpeechSynthesizer.StateChanged Zdarzenie

Definicja

Zgłaszane, gdy stan SpeechSynthesizer zmian.

public:
 event EventHandler<System::Speech::Synthesis::StateChangedEventArgs ^> ^ StateChanged;
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) 

Typ zdarzenia

Uwagi

Zgłasza SpeechSynthesizer to wydarzenie, gdy zmienia się jego wypowiadanie State . Aby uzyskać przykład i więcej informacji o danych skojarzonych ze zdarzeniem, zobacz StateChangedEventArgs.

Aby wstrzymać i wznowić syntezę mowy, użyj Pause metod i Resume .

Dotyczy