TeamFoundationSqlNotificationService.UnregisterNotificationHierarchy Method (TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
UnregisterNotification is used to remove a notification handler for a previously registered event on each of the requestContexts 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, _
handler As SqlNotificationHandler, _
startAtParentContext As Boolean _
)
public void UnregisterNotificationHierarchy(
TeamFoundationRequestContext requestContext,
string databaseCategory,
Guid eventClass,
SqlNotificationHandler handler,
bool startAtParentContext
)
public:
void UnregisterNotificationHierarchy(
TeamFoundationRequestContext^ requestContext,
String^ databaseCategory,
Guid eventClass,
SqlNotificationHandler^ handler,
bool startAtParentContext
)
member UnregisterNotificationHierarchy :
requestContext:TeamFoundationRequestContext *
databaseCategory:string *
eventClass:Guid *
handler:SqlNotificationHandler *
startAtParentContext:bool -> unit
public function UnregisterNotificationHierarchy(
requestContext : TeamFoundationRequestContext,
databaseCategory : String,
eventClass : Guid,
handler : SqlNotificationHandler,
startAtParentContext : 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.
handler
Type: Microsoft.TeamFoundation.Framework.Server.SqlNotificationHandlerIf true does not unregister the provided requestContext's notification, and instead starts unregistering at the parent and works to the root.
- startAtParentContext
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