Share via


TeamFoundationSqlNotificationService.UnregisterNotificationHierarchy 方法 (TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)

UnregisterNotification 用來從提供的一個移除先前註冊的事件的通知處理常式在每一 requestContexts 到根項目。

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

語法

'宣告
Public Sub UnregisterNotificationHierarchy ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String, _
    eventClass As Guid, _
    handler As SqlNotificationHandler, _
    startAtParentContext As Boolean _
)
public void UnregisterNotificationHierarchy(
    TeamFoundationRequestContext requestContext,
    string databaseCategory,
    Guid eventClass,
    SqlNotificationHandler handler,
    bool startAtParentContext
)

參數

  • databaseCategory
    類型:System.String
    為事件型別註冊。
  • eventClass
    類型:System.Guid
    這個註冊的處理常式。

Implements

ITeamFoundationSqlNotificationService.UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)

.NET Framework 安全性

請參閱

參考

TeamFoundationSqlNotificationService 類別

UnregisterNotificationHierarchy 多載

Microsoft.TeamFoundation.Framework.Server 命名空間