Share via


Note

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

SpeakCompletedEventArgs Class

Returns notification from the SpeakCompleted event.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The SpeakCompletedEventArgs class has no properties, and does not return data from the SpeakCompleted event. It is provided to enable application authors to write event handlers for the SpeakCompleted event. The SpeechSynthesizer raises the SpeakCompleted event at the completion of any of the SpeakAsync() or SpeakSsmlAsync(String) methods.

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

SpeakCompletedEventArgs Members

Microsoft.Speech.Synthesis Namespace