Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
UnregisterNotification is used to remove a notification callback for a previously registered event on each requestContext 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, _
callback As SqlNotificationCallback, _
startAtParentContext As Boolean _
)
public void UnregisterNotificationHierarchy(
TeamFoundationRequestContext requestContext,
string databaseCategory,
Guid eventClass,
SqlNotificationCallback callback,
bool startAtParentContext
)
public:
void UnregisterNotificationHierarchy(
TeamFoundationRequestContext^ requestContext,
String^ databaseCategory,
Guid eventClass,
SqlNotificationCallback^ callback,
bool startAtParentContext
)
member UnregisterNotificationHierarchy :
requestContext:TeamFoundationRequestContext *
databaseCategory:string *
eventClass:Guid *
callback:SqlNotificationCallback *
startAtParentContext:bool -> unit
public function UnregisterNotificationHierarchy(
requestContext : TeamFoundationRequestContext,
databaseCategory : String,
eventClass : Guid,
callback : SqlNotificationCallback,
startAtParentContext : 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.
startAtParentContext
Type: System.BooleanIf true does not unregister the provided requestContext's notification, and instead starts unregistering at the parent and works to the root.
.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