Share via


TeamFoundationSqlNotificationService.UnregisterNotificationHierarchy Method (TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)

UnregisterNotification is used to remove a notification handler for a previously registered event on each of the requestContexts from the provided one to the root.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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
)
public:
void UnregisterNotificationHierarchy(
    TeamFoundationRequestContext^ requestContext, 
    String^ databaseCategory, 
    Guid eventClass, 
    SqlNotificationHandler^ handler, 
    bool startAtParentContext
)
member UnregisterNotificationHierarchy : 
        requestContext:TeamFoundationRequestContext * 
        databaseCategory:string * 
        eventClass:Guid * 
        handler:SqlNotificationHandler * 
        startAtParentContext:bool -> unit
public function UnregisterNotificationHierarchy(
    requestContext : TeamFoundationRequestContext, 
    databaseCategory : String, 
    eventClass : Guid, 
    handler : SqlNotificationHandler, 
    startAtParentContext : boolean
)

Parameters

  • databaseCategory
    Type: System.String

    The type of event that is was registered for.

  • eventClass
    Type: System.Guid

    The handler for this registration.

.NET Framework Security

See Also

Reference

TeamFoundationSqlNotificationService Class

UnregisterNotificationHierarchy Overload

Microsoft.TeamFoundation.Framework.Server Namespace