Repository5 类

继承层次结构

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.TeamFoundation.Framework.Server.Alm.WebServices.TeamFoundationWebService
        Microsoft.TeamFoundation.VersionControl.Server.VersionControlWebService
          Microsoft.TeamFoundation.VersionControl.Server.Repository5

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

语法

声明
<WebServiceAttribute(Namespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03",  _
    Description := "Team Foundation VersionControl ClientServices web service")> _
<ProxyParentClassAttribute("VersionControlClientProxy")> _
<ClientServiceAttribute(ServiceName := "ISCCProvider5", CollectionServiceIdentifier := "A25D0656-DA63-4F51-9DA9-800FFF229D1A")> _
Public Class Repository5 _
    Inherits VersionControlWebService
[WebServiceAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/ClientServices/03", 
    Description = "Team Foundation VersionControl ClientServices web service")]
[ProxyParentClassAttribute("VersionControlClientProxy")]
[ClientServiceAttribute(ServiceName = "ISCCProvider5", CollectionServiceIdentifier = "A25D0656-DA63-4F51-9DA9-800FFF229D1A")]
public class Repository5 : VersionControlWebService

Repository5 类型公开以下成员。

构造函数

  名称 说明
公共方法 Repository5

页首

属性

  名称 说明
公共属性 Application 获取当前 HTTP 请求的应用程序对象。 (继承自 WebService。)
公共属性 Container 获取组件的容器。 (继承自 MarshalByValueComponent。)
公共属性 Context 获取当前请求的 ASP.NET HttpContext,它封装了由 HTTP 服务器用来处理 Web 请求的所有 HTTP 特定的上下文。 (继承自 WebService。)
公共属性 DesignMode 获取指示组件当前是否处于设计模式的值。 (继承自 MarshalByValueComponent。)
受保护的属性 Events 获取附加到该组件的事件处理程序的列表。 (继承自 MarshalByValueComponent。)
受保护的属性 RequestContext (继承自 TeamFoundationWebService。)
公共属性 Server 获取当前请求的 HttpServerUtility。 (继承自 WebService。)
公共属性 Session 获取当前请求的 HttpSessionState 实例。 (继承自 WebService。)
公共属性 Site 获取或设置组件的位置。 (继承自 MarshalByValueComponent。)
公共属性 SoapVersion 获取用于向 XML Web services 发送 SOAP 请求的 SOAP 协议的版本。 (继承自 WebService。)
公共属性 User 获取 ASP.NET 服务器 User 对象。可用于验证用户是否有权执行请求。 (继承自 WebService。)

页首

方法

  名称 说明
公共方法 AddConflict
受保护的方法 AddWebServiceResource (继承自 TeamFoundationWebService。)
公共方法 CheckIn
公共方法 CheckInShelveset
公共方法 CheckPendingChanges
公共方法 CreateBranch
公共方法 CreateCheckinNoteDefinition
公共方法 CreateTeamProjectFolder
公共方法 DeleteBranchObject
公共方法 Destroy
公共方法 Dispose() 释放由 MarshalByValueComponent 使用的所有资源。 (继承自 MarshalByValueComponent。)
受保护的方法 Dispose(Boolean) 释放由 MarshalByValueComponent 占用的非托管资源,还可以另外再释放托管资源。 (继承自 MarshalByValueComponent。)
受保护的方法 EnterMethod (继承自 VersionControlWebService。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 MarshalByValueComponent。)
公共方法 Get
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetService 获取 IServiceProvider 的实施者。 (继承自 MarshalByValueComponent。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 HandleException (继承自 TeamFoundationWebService。)
公共方法 LabelItem
受保护的方法 LeaveMethod (继承自 VersionControlWebService。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 Merge
公共方法 PendChanges
公共方法 PendChangesInLocalWorkspace
公共方法 QueryBranchObjects
公共方法 QueryLabels
公共方法 QueryMergeCandidates
公共方法 QueryPendingSets
公共方法 QueryPendingSetsWithLocalWorkspaces
公共方法 ReconcileLocalWorkspace
公共方法 Resolve
公共方法 Rollback
受保护的方法 SetMethodName (继承自 TeamFoundationWebService。)
公共方法 Shelve
公共方法 ToString 返回包含 Component 的名称的 String(如果有)。不应重写此方法。 (继承自 MarshalByValueComponent。)
公共方法 UndoPendingChanges
公共方法 UndoPendingChangesInLocalWorkspace
公共方法 UnlabelItem
公共方法 Unshelve
公共方法 UpdateBranchObject
公共方法 UpdateLocalVersion
公共方法 UpdatePendingState

页首

事件

  名称 说明
公共事件 Disposed 添加事件处理程序以侦听组件上的 Disposed 事件。 (继承自 MarshalByValueComponent。)

页首

线程安全

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

请参见

参考

Microsoft.TeamFoundation.VersionControl.Server 命名空间