Share via


TeamFoundationSqlNotificationService Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationTaskService))> _
Public NotInheritable Class TeamFoundationSqlNotificationService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public sealed class TeamFoundationSqlNotificationService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public ref class TeamFoundationSqlNotificationService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))>]
type TeamFoundationSqlNotificationService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationSqlNotificationService implements ITeamFoundationService

The TeamFoundationSqlNotificationService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationSqlNotificationService

Top

Properties

  Name Description
Public property Author The 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

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method RegisterNotification RegisterNotification is used to register a callback for an eventClass in a database.
Public method RegisterNotificationHierarchy RegisterNotificationHeirarchy is used to register a callback for an eventClass in a database on each RequestContext from the provided requestContext to the root.
Public method SendNotification Send a SQL notification to the system.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnregisterNotification UnregisterNotification is used to remove a notification callback for a previously registered event.
Public method UnregisterNotificationHierarchy UnregisterNotification is used to remove a notification callback for a previously registered event on each requestContext from the provided one to the root.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Initialize the SqlNotificationService

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace