Share via


TeamFoundationSqlNotificationService.UnregisterNotification 方法 (TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)

UnregisterNotification 用來移除先前註冊的事件通知的回呼。

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

語法

'宣告
Public Sub UnregisterNotification ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String, _
    eventClass As Guid, _
    callback As SqlNotificationCallback, _
    waitForInFlightNotifications As Boolean _
)
public void UnregisterNotification(
    TeamFoundationRequestContext requestContext,
    string databaseCategory,
    Guid eventClass,
    SqlNotificationCallback callback,
    bool waitForInFlightNotifications
)

參數

  • databaseCategory
    類型:System.String
    資料庫事件註冊。
  • eventClass
    類型:System.Guid
    註冊事件的型別。

.NET Framework 安全性

請參閱

參考

TeamFoundationSqlNotificationService 類別

UnregisterNotification 多載

Microsoft.TeamFoundation.Framework.Server 命名空間