Share via


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

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

Parameters

  • databaseCategory
    Type: System.String

    The database the event was registered.

  • eventClass
    Type: System.Guid

    The type of event that was registered for.

.NET Framework Security

See Also

Reference

TeamFoundationSqlNotificationService Class

UnregisterNotification Overload

Microsoft.TeamFoundation.Framework.Server Namespace