NotificationEvent 類別

通知事件的抽象類別。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.VersionControl.Common.NotificationEvent
    Microsoft.TeamFoundation.VersionControl.Common.CheckinEvent
    Microsoft.TeamFoundation.VersionControl.Common.ShelvesetEvent

命名空間:  Microsoft.TeamFoundation.VersionControl.Common
組件:  Microsoft.TeamFoundation.VersionControl.Common.Integration (在 Microsoft.TeamFoundation.VersionControl.Common.Integration.dll 中)

語法

'宣告
Public MustInherit Class NotificationEvent
public abstract class NotificationEvent

NotificationEvent 類型會公開下列成員。

建構函式

  名稱 描述
受保護的方法 NotificationEvent()
受保護的方法 NotificationEvent(DateTime, String, String) 使用簽入值,建構物件。
受保護的方法 NotificationEvent(DateTime, String, String, String) 使用簽入值,建構物件。

回頁首

屬性

  名稱 描述
公用屬性 Comment
公用屬性 CreationDate
公用屬性 Owner 傳回擁有者與簽入事件。當 Proxy 識別執行簽入作業時,擁有者可能與 committer 不同。在這種情況下,擁有者是 Proxy 識別執行簽入的識別。
公用屬性 OwnerDisplay 傳回擁有者與簽入事件的顯示名稱。當 Proxy 識別執行簽入作業時,擁有者可能與 committer 不同。在這種情況下,擁有者是 Proxy 識別執行簽入的識別。
公用屬性 PolicyOverrideComment 簽入原則的覆寫資訊。
公用屬性 TeamProject 在這個事件表示的 Team 專案。
公用屬性 TimeZone 傳回呼叫端的本地時間的名稱。
公用屬性 TimeZoneOffset 傳回的位移,從 GMT,呼叫端的本地時間。

回頁首

方法

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

回頁首

欄位

  名稱 描述
公用欄位 AllChangesIncluded 表示包含的變更因為資源管理,是否會受到限制。
公用欄位 Artifacts 一組相關成品。
公用欄位 CheckinInformation 詳細資訊將會在簽入時間。
公用欄位 CheckinNotes (選擇性) 簽入的簽入提示。
公用欄位 Notice 用來顯示用途和可以是空的。包含與簽入顯示處理序相關的重要資訊。
公用欄位 Subscriber 當用於警示流程,包含訂閱警示使用者的名稱。會在需要時,這項資訊可以由警示收件者。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.VersionControl.Common 命名空間