This documentation is archived and is not being maintained.

TeamFoundationSqlNotificationService Class

System::Object
  Microsoft.TeamFoundation.Framework.Server::TeamFoundationSqlNotificationService

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public ref class TeamFoundationSqlNotificationService sealed : ITeamFoundationService

The TeamFoundationSqlNotificationService type exposes the following members.

  NameDescription
Public propertyAuthorThe author is defined as the source of the change that caused the notification. Implementors may use the Author property from this class when they write to the notification table. If the caller then wants to filter events out that came from its own writes you can do this with the filterByAuthor parameter when registering for notification callbacks.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodRegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)RegisterNotification is used to register a callback for an eventClass in a database.
Public methodRegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)RegisterNotification is used to register a handler for an eventClass within a database.
Public methodRegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)RegisterNotificationHeirarchy is used to register a callback for an eventClass in a database on each RequestContext from the provided requestContext to the root.
Public methodRegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)RegisterNotificationHeirarchy is used to register a callback for an eventClass within a database on each of the RequestContexts from the provided requestContext to the root.
Public methodSendNotificationSend a SQL notification to the system.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)UnregisterNotification is used to remove a notification callback for a previously registered event.
Public methodUnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)UnregisterNotification is used to remove a notification handler for a previously registered event.
Public methodUnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)UnregisterNotification is used to remove a notification callback for a previously registered event on each requestContext from the provided one to the root.
Public methodUnregisterNotificationHierarchy(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.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: