CheckinEvent 類別

簽入事件包含簽入以及其他項目,例如,與簽入有關的工作項目的資訊。

所有簽入包含一個變更集、日期/時間資訊、擁有者/committer 和 (可能是空白) 註解。

繼承階層架構

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

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

語法

'宣告
Public Class CheckinEvent _
    Inherits NotificationEvent _
    Implements ICloneable
public class CheckinEvent : NotificationEvent, 
    ICloneable

CheckinEvent 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 CheckinEvent()
公用方法 CheckinEvent(Int32, DateTime) 建構物件使用變更集編號,並變更集建立的日期與時間。
公用方法 CheckinEvent(Int32, DateTime, String, String, String) 使用簽入值,建構物件。
公用方法 CheckinEvent(Int32, DateTime, String, String, String, String, String) 使用簽入值,建構物件。

回頁首

屬性

  名稱 描述
公用屬性 ChangesetCreationDate
公用屬性 Comment (繼承自 NotificationEvent)。
公用屬性 Committer 傳回 committer 與簽入事件。committer 為送出簽入的識別。
公用屬性 CommitterDisplay 傳回 committer 與簽入事件的顯示名稱。committer 為送出簽入的識別。
公用屬性 ContentTitle 內容的標題。
公用屬性 CreationDate (繼承自 NotificationEvent)。
公用屬性 Number 傳回變更集識別項。
公用屬性 Owner 傳回擁有者與簽入事件。當 Proxy 識別執行簽入作業時,擁有者可能與 committer 不同。在這種情況下,擁有者是 Proxy 識別執行簽入的識別。 (繼承自 NotificationEvent)。
公用屬性 OwnerDisplay 傳回擁有者與簽入事件的顯示名稱。當 Proxy 識別執行簽入作業時,擁有者可能與 committer 不同。在這種情況下,擁有者是 Proxy 識別執行簽入的識別。 (繼承自 NotificationEvent)。
公用屬性 PolicyOverrideComment 簽入原則的覆寫資訊。 (繼承自 NotificationEvent)。
公用屬性 TeamProject 在這個事件表示的 Team 專案。 (繼承自 NotificationEvent)。
公用屬性 TimeZone 傳回呼叫端的本地時間的名稱。 (繼承自 NotificationEvent)。
公用屬性 TimeZoneOffset 傳回的位移,從 GMT,呼叫端的本地時間。 (繼承自 NotificationEvent)。
公用屬性 Title 傳回簽入事件的標題。

回頁首

方法

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

回頁首

欄位

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

回頁首

備註

請注意 CheckinEvent 物件是之後簽入警示形成的基礎。

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.VersionControl.Common 命名空間