Condividi tramite


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

UnregisterNotification is used to remove a notification callback for a previously registered event on each requestContext 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, _
    callback As SqlNotificationCallback, _
    startAtParentContext As Boolean _
)
public void UnregisterNotificationHierarchy(
    TeamFoundationRequestContext requestContext,
    string databaseCategory,
    Guid eventClass,
    SqlNotificationCallback callback,
    bool startAtParentContext
)
public:
void UnregisterNotificationHierarchy(
    TeamFoundationRequestContext^ requestContext, 
    String^ databaseCategory, 
    Guid eventClass, 
    SqlNotificationCallback^ callback, 
    bool startAtParentContext
)
member UnregisterNotificationHierarchy : 
        requestContext:TeamFoundationRequestContext * 
        databaseCategory:string * 
        eventClass:Guid * 
        callback:SqlNotificationCallback * 
        startAtParentContext:bool -> unit
public function UnregisterNotificationHierarchy(
    requestContext : TeamFoundationRequestContext, 
    databaseCategory : String, 
    eventClass : Guid, 
    callback : SqlNotificationCallback, 
    startAtParentContext : boolean
)

Parameters

  • databaseCategory
    Type: System.String

    The database the event was registered.

  • eventClass
    Type: System.Guid

    The type of event that was registered for.

  • startAtParentContext
    Type: System.Boolean

    If true does not unregister the provided requestContext's notification, and instead starts unregistering at the parent and works to the root.

.NET Framework Security

See Also

Reference

TeamFoundationSqlNotificationService Class

UnregisterNotificationHierarchy Overload

Microsoft.TeamFoundation.Framework.Server Namespace