TeamFoundationSqlNotificationService.UnregisterNotificationHierarchy, méthode (TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)
UnregisterNotification est utilisé pour supprimer un rappel de notification pour un événement stocké sur chaque requestContext partir duquel fourni vers 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, _
callback As SqlNotificationCallback, _
startAtParentContext As Boolean _
)
public void UnregisterNotificationHierarchy(
TeamFoundationRequestContext requestContext,
string databaseCategory,
Guid eventClass,
SqlNotificationCallback callback,
bool startAtParentContext
)
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.
- startAtParentContext
Type : System.Boolean
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.
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