TeamFoundationSqlNotificationService.UnregisterNotificationHierarchy, méthode (TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
UnregisterNotification permet de supprimer un gestionnaire de notification pour un événement stocké sur chacun des requestContexts partir duquel fournis à la racine.
Espace de noms : Microsoft.TeamFoundation.Framework.Server
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
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
)
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.
- handler
Type : Microsoft.TeamFoundation.Framework.Server.SqlNotificationHandler
Si la valeur true n'annule pas l'inscription de la notification des requestContext fournis, et à la place de la désinscription au parent et fonctionne à la racine.
- startAtParentContext
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