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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe database the event was registered.
databaseCategory
Type: System.StringThe type of event that is was registered for.
eventClass
Type: System.GuidThe handler 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