TeamFoundationSqlNotificationService 类
本文内容
继承层次结构
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlNotificationService
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
<TeamFoundationServiceDependency(GetType(TeamFoundationTaskService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
Public NotInheritable Class TeamFoundationSqlNotificationService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public sealed class TeamFoundationSqlNotificationService : ITeamFoundationService
TeamFoundationSqlNotificationService 类型公开以下成员。
构造函数
页首
属性
Author
作者定义为导致该更改通知的数据源。实现者可以使用此选件类的作者属性,则会写入通知表。如果调用方然后筛选来自自己编写自己的事件可以执行此操作。filterByAuthor 参数,在注册通知回调时。
页首
方法
Equals
确定指定的对象是否等于当前对象。 (继承自 Object 。)
GetHashCode
作为默认哈希函数。 (继承自 Object 。)
GetType
获取当前实例的 Type 。 (继承自 Object 。)
RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)
RegisterNotification 用于注册回调。eventClass 在数据库中。
RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
RegisterNotification 用于注册处理程序为数据库中的 eventClass。
RegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)
RegisterNotificationHeirarchy 用于注册回调。eventClass 在每 RequestContext 的数据库中提供的 requestContext 到根。
RegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
RegisterNotificationHeirarchy 用于注册回调为一个数据库中的 eventClass 在每个从提供的 requestContext 的 RequestContexts 到根。
SendNotification
发送一个 SQL 通知给系统。
ToString
返回表示当前对象的字符串。 (继承自 Object 。)
UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)
UnregisterNotification 用于取消以前已注册的事件通知回调。
UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
UnregisterNotification 用于移除以前已注册的事件通知处理程序。
UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)
UnregisterNotification 用于从提供的取消以前已注册的事件通知回调在每 requestContext 到根。
UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
UnregisterNotification 用于从提供的一个移除以前已注册的事件通知处理程序在每个 requestContexts 到根。
页首
显式接口实现
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.TeamFoundation.Framework.Server 命名空间