TeamFoundationSqlNotificationService.UnregisterNotification, méthode (TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
UnregisterNotification permet de supprimer un gestionnaire 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, _
handler As SqlNotificationHandler, _
waitForInFlightNotifications As Boolean _
)
public void UnregisterNotification(
TeamFoundationRequestContext requestContext,
string databaseCategory,
Guid eventClass,
SqlNotificationHandler handler,
bool waitForInFlightNotifications
)
Paramètres
- requestContext
Type : Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
La base de données l'événement a été signalée.
- databaseCategory
Type : System.String
Le type d'événement qu'il a été enregistré pour.
- eventClass
Type : System.Guid
Le gestionnaire de 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