แชร์ผ่าน


SpeakStartedEventArgs Class

Definition

Returns notification from the SpeakStarted event.

public ref class SpeakStartedEventArgs : System::Speech::Synthesis::PromptEventArgs
public class SpeakStartedEventArgs : System.Speech.Synthesis.PromptEventArgs
type SpeakStartedEventArgs = class
    inherit PromptEventArgs
Public Class SpeakStartedEventArgs
Inherits PromptEventArgs
Inheritance

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, or SpeakSsmlAsync 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.

Properties

Cancelled

Gets a value indicating whether an asynchronous operation has been canceled.

(Inherited from AsyncCompletedEventArgs)
Error

Gets a value indicating which error occurred during an asynchronous operation.

(Inherited from AsyncCompletedEventArgs)
Prompt

Gets the prompt associated with the event.

(Inherited from PromptEventArgs)
UserState

Gets the unique identifier for the asynchronous task.

(Inherited from AsyncCompletedEventArgs)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RaiseExceptionIfNecessary()

Raises a user-supplied exception if an asynchronous operation failed.

(Inherited from AsyncCompletedEventArgs)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to