PromptEventArgs 類別

定義

表示 System.Speech.Synthesis 命名空間中 EventArgs 類別的基底類別。Represents the base class for EventArgs classes in the System.Speech.Synthesis namespace.

public ref class PromptEventArgs abstract : System::ComponentModel::AsyncCompletedEventArgs
public abstract class PromptEventArgs : System.ComponentModel.AsyncCompletedEventArgs
type PromptEventArgs = class
    inherit AsyncCompletedEventArgs
Public MustInherit Class PromptEventArgs
Inherits AsyncCompletedEventArgs
繼承
衍生

屬性

Cancelled

取得值,指出非同步作業是否已取消。Gets a value indicating whether an asynchronous operation has been canceled.

(繼承來源 AsyncCompletedEventArgs)
Error

取得值,指出非同步作業期間是否發生錯誤。Gets a value indicating which error occurred during an asynchronous operation.

(繼承來源 AsyncCompletedEventArgs)
Prompt

取得與事件相關聯的提示。Gets the prompt associated with the event.

UserState

取得非同步工作的唯一識別項。Gets the unique identifier for the asynchronous task.

(繼承來源 AsyncCompletedEventArgs)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
RaiseExceptionIfNecessary()

如果非同步作業失敗,引發使用者提供的例外狀況。Raises a user-supplied exception if an asynchronous operation failed.

(繼承來源 AsyncCompletedEventArgs)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於