Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeakStartedEventArgs Class

Returns notification from the SpeakStarted event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.AsyncCompletedEventArgs
      Microsoft.Speech.Synthesis.PromptEventArgs
        Microsoft.Speech.Synthesis.SpeakStartedEventArgs

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

Syntax

'Declaration
Public Class SpeakStartedEventArgs _
    Inherits PromptEventArgs
'Usage
Dim instance As SpeakStartedEventArgs
public class SpeakStartedEventArgs : PromptEventArgs

Remarks

An instance of SpeakStartedEventArgs is created when the SpeechSynthesizer object raises the SpeakStarted event. The SpeechSynthesizer raises the SpeakStarted event when it begins speaking a prompt using any of the Speak(), SpeakAsync(), SpeakSsml(String), or SpeakSsmlAsync(String) methods.

The SpeakStartedEventArgs class has no properties, and does not return data from the SpeakStarted event. It is provided to enable application authors to write event handlers for the SpeakStarted event.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SpeakStartedEventArgs Members

Microsoft.Speech.Synthesis Namespace