Partager 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(TeamFoundationTaskService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
Public NotInheritable Class TeamFoundationSqlNotificationService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public sealed class TeamFoundationSqlNotificationService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public ref class TeamFoundationSqlNotificationService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
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 the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) RegisterNotification is used to register a callback for an eventClass in a database.
Public method RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) RegisterNotification is used to register a handler for an eventClass within a database.
Public method RegisterNotificationHierarchy(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 method RegisterNotificationHierarchy(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 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(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) UnregisterNotification is used to remove a notification callback for a previously registered event.
Public method UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) UnregisterNotification is used to remove a notification handler for a previously registered event.
Public method UnregisterNotificationHierarchy(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 method UnregisterNotificationHierarchy(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

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