DocumentService 类

DocumentService 的概况说明。

继承层次结构

System.Object
  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.DocumentService

命名空间:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
程序集:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking(在 Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll 中)

语法

声明
<GuidAttribute("40BEAC94-C7C0-429c-BC59-72748E8A597E")> _
<ComVisibleAttribute(True)> _
Public Class DocumentService _
    Implements IWorkItemControlHost
[GuidAttribute("40BEAC94-C7C0-429c-BC59-72748E8A597E")]
[ComVisibleAttribute(true)]
public class DocumentService : IWorkItemControlHost

DocumentService 类型公开以下成员。

属性

  名称 说明
受保护的属性 Events

页首

方法

  名称 说明
公共方法 ContainsWorkItem(TeamFoundationServer, Int32) 已废弃不用。
公共方法 ContainsWorkItem(TfsTeamProjectCollection, Int32)
公共方法 CreateLinkResults
公共方法 CreateQuery(TeamFoundationServer, String, QueryFolder, String, Object) 已废弃不用。
公共方法 CreateQuery(TeamFoundationServer, String, Boolean, String, Object) 已废弃不用。
公共方法 CreateQuery(TfsTeamProjectCollection, String, QueryFolder, String, Object)
公共方法 CreateQuery(TfsTeamProjectCollection, String, Boolean, String, Object)
公共方法 CreateResults 已废弃不用。
公共方法 CreateWorkItem(WorkItem, Object)
公共方法 CreateWorkItem(TeamFoundationServer, String, String, Object) 已废弃不用。
公共方法 CreateWorkItem(TfsTeamProjectCollection, String, String, Object)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 FindDocument
公共方法 GetDocuments
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetLinkResults
公共方法 GetQuery(TeamFoundationServer, String, Object) 已废弃不用。
公共方法 GetQuery(TfsTeamProjectCollection, String, Object)
公共方法 GetResults 已废弃不用。
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 GetWorkItem(TeamFoundationServer, Int32, Object) 已废弃不用。
公共方法 GetWorkItem(TfsTeamProjectCollection, Int32, Object)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 OnDocumentAdded
受保护的方法 OnDocumentRemoved
公共方法 ShowQuery
公共方法 ShowResults
公共方法 ShowWorkItem
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

事件

  名称 说明
公共事件 DocumentAdded
公共事件 DocumentRemoved

页首

显式接口实现  

  名称 说明
显式接口实现私有方法 IWorkItemControlHost.SendToExcel
显式接口实现私有方法 IWorkItemControlHost.SendToMail
显式接口实现私有方法 IWorkItemControlHost.SendToProject
显式接口实现私有方法 IWorkItemControlHost.ShowQueryResults
显式接口实现私有方法 IWorkItemControlHost.ShowWorkItem 显示在新选项卡 (或开关指定的工作项到现有选项,如果已存在)。
显式接口实现私有属性 IWorkItemControlHost.SupportsSendToExcel
显式接口实现私有属性 IWorkItemControlHost.SupportsSendToMail
显式接口实现私有属性 IWorkItemControlHost.SupportsSendToProject

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking 命名空间