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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
databaseCategory
Type: System.StringThe database the event was registered.
eventClass
Type: System.GuidThe type of event that was registered for.
callback
Type: Microsoft.TeamFoundation.Framework.Server.SqlNotificationCallbackThe callback for this registration.
- waitForInFlightNotifications
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationSqlNotificationService Class