Dela via


SpeakCompletedEventArgs Class

Definition

Returns notification from the SpeakCompleted event.

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

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 methods.

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