TeamFoundationSqlNotificationService.UnregisterNotification, méthode (TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)
UnregisterNotification est utilisé pour supprimer un rappel de notification pour un événement inscrit précédemment.
Espace de noms : Microsoft.TeamFoundation.Framework.Server
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- requestContext
Type : Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- databaseCategory
Type : System.String
La base de données l'événement a été signalée.
- eventClass
Type : System.Guid
Le type d'événement pour lequel a été enregistré.
- callback
Type : Microsoft.TeamFoundation.Framework.Server.SqlNotificationCallback
Le rappel pour cette inscription.
- waitForInFlightNotifications
Type : System.Boolean
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
TeamFoundationSqlNotificationService Classe