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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- databaseCategory
類型:System.String
資料庫事件註冊。
- eventClass
類型:System.Guid
註冊事件的型別。
- callback
類型:Microsoft.TeamFoundation.Framework.Server.SqlNotificationCallback
這個註冊的回呼。
- waitForInFlightNotifications
類型:System.Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。