Condividi tramite


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

UnregisterNotification is used to remove a notification handler for a previously registered event.

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

Syntax

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

UnregisterNotification Overload

Microsoft.TeamFoundation.Framework.Server Namespace