VsContextChangingEventArgs 類別

內容變更的事件引數。

繼承階層架構

System.Object
  System.EventArgs
    Microsoft.TeamFoundation.Client.ContextChangingEventArgs
      Microsoft.VisualStudio.Services.Integration.VsContextChangingEventArgs

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

語法

'宣告
Public Class VsContextChangingEventArgs _
    Inherits ContextChangingEventArgs
public class VsContextChangingEventArgs : ContextChangingEventArgs

VsContextChangingEventArgs 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 VsContextChangingEventArgs

回頁首

屬性

  名稱 描述
公用屬性 Cancel 旗標表示目前內容變更是否應該取消。 (繼承自 ContextChangingEventArgs)。
公用屬性 ContextChange
公用屬性 ContextChangeReason
公用屬性 HierarchySaveItems
公用屬性 NewContext 新的內容。 (繼承自 ContextChangingEventArgs)。
公用屬性 TeamProjectCollectionChanging 則為 true,如果已變更,否則為 false。 (繼承自 ContextChangingEventArgs)。

回頁首

方法

  名稱 描述
公用方法 AddHierarchyForPromptAndSave (覆寫 ContextChangingEventArgs.AddHierarchyForPromptAndSave(Object, UInt32, Boolean)。)
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.VisualStudio.Services.Integration 命名空間