TeamFoundationSqlNotificationService 類別

繼承階層

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlNotificationService

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationTaskService))> _
Public NotInheritable Class TeamFoundationSqlNotificationService _
    Implements ITeamFoundationSqlNotificationService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public sealed class TeamFoundationSqlNotificationService : ITeamFoundationSqlNotificationService, 
    ITeamFoundationService

TeamFoundationSqlNotificationService 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 TeamFoundationSqlNotificationService

回頁首

屬性

  名稱 描述
公用屬性 Author 作者定義為產生告知的來源。會將告知資料表時,撰寫實作人員可能會使用這個類別的作者屬性。如果呼叫端想要篩選來自其寫入您的事件可以與 filterByAuthor 參數,在註冊通知回呼時。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) RegisterNotification 用來註冊的回呼會在資料庫中 eventClass。
公用方法 RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) RegisterNotification 用來註冊的處理常式在資料庫內的 eventClass。
公用方法 RegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) RegisterNotificationHeirarchy 用來註冊回呼資料庫中的 eventClass 在從提供的 requestContext 的每 RequestContext 到根項目。
公用方法 RegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) RegisterNotificationHeirarchy 用來註冊的回呼會在一個資料庫中的 eventClass 在每個提供的 requestContext 的 RequestContexts 到根項目。
公用方法 SendNotification 傳送 SQL 告知系統。
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。
公用方法 UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) UnregisterNotification 用來移除先前註冊的事件通知的回呼。
公用方法 UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) UnregisterNotification 用來移除先前註冊的事件的通知處理常式。
公用方法 UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) UnregisterNotification 用來從提供的一個移除先前註冊的事件通知回呼會在每 requestContext 到根項目。
公用方法 UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) UnregisterNotification 用來從提供的一個移除先前註冊的事件的通知處理常式在每一 requestContexts 到根項目。

回頁首

明確介面實作

  名稱 描述
明確介面實作私用方法 ITeamFoundationService.ServiceEnd
明確介面實作私用方法 ITeamFoundationService.ServiceStart 初始化 SqlNotificationService

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間