共用方式為


DataAsyncCommandCompletedEventArgs<T> 類別

封裝事件資料是用來 IVsDataAsyncCommand 服務的各種事件

繼承階層架構

Object
  EventArgs
    AsyncCompletedEventArgs
      Microsoft.VisualStudio.Data.Services.SupportEntities.DataAsyncCommandCompletedEventArgs<T>

命名空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Public Class DataAsyncCommandCompletedEventArgs(Of T) _
    Inherits AsyncCompletedEventArgs
public class DataAsyncCommandCompletedEventArgs<T> : AsyncCompletedEventArgs
generic<typename T>
public ref class DataAsyncCommandCompletedEventArgs : public AsyncCompletedEventArgs
type DataAsyncCommandCompletedEventArgs<'T> =  
    class 
        inherit AsyncCompletedEventArgs 
    end
JScript 不支援泛型型別或方法。

類型參數

  • T
    參數的型別。

DataAsyncCommandCompletedEventArgs<T> 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 DataAsyncCommandCompletedEventArgs<T> 使用指定的參數,初始化 DataAsyncCommandCompletedEventArgs<T> 類別的新執行個體。

回頁首

屬性

  名稱 描述
公用屬性 Cancelled 取得值,指出非同步作業是否已取消。 (繼承自 AsyncCompletedEventArgs)。
公用屬性 Error 取得值,指出非同步作業期間是否發生錯誤。 (繼承自 AsyncCompletedEventArgs)。
公用屬性 ReturnValue 傳回作業的傳回值。
公用屬性 UserState 取得非同步工作的唯一識別項。 (繼承自 AsyncCompletedEventArgs)。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。
受保護的方法 RaiseExceptionIfNecessary 如果非同步作業失敗,引發使用者提供的例外狀況。 (繼承自 AsyncCompletedEventArgs)。
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間