TfsApiController 类

继承层次结构

System.Object
  System.Web.Http.ApiController
    Microsoft.TeamFoundation.Framework.Server.TfsApiController
      更多...

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

语法

声明
<LogExceptionFilterAttribute> _
<ActivityLoggingAttribute> _
<ActivityResponseFilterAttribute> _
Public Class TfsApiController _
    Inherits ApiController
[LogExceptionFilterAttribute]
[ActivityLoggingAttribute]
[ActivityResponseFilterAttribute]
public class TfsApiController : ApiController

TfsApiController 类型公开以下成员。

构造函数

  名称 说明
公共方法 TfsApiController

页首

属性

  名称 说明
公共属性 BaseHttpExceptions
公共属性 Configuration (继承自 ApiController。)
公共属性 ControllerContext (继承自 ApiController。)
公共属性 HttpExceptions
公共属性 ModelState (继承自 ApiController。)
公共属性 Request (继承自 ApiController。)
公共属性 RequestContext 仅用于单元测试目的 setter
公共属性 TraceArea
公共属性 Url (继承自 ApiController。)
公共属性 User (继承自 ApiController。)

页首

方法

  名称 说明
公共方法 Dispose() (继承自 ApiController。)
受保护的方法 Dispose(Boolean) (继承自 ApiController。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 ExecuteAsync (继承自 ApiController。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 Initialize (重写 ApiController.Initialize(HttpControllerContext)。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

扩展方法 

  名称 说明
公共扩展方法 GenerateResponse (由 TfsApiControllerExtensions 定义。)

页首

线程安全

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

请参阅

参考

Microsoft.TeamFoundation.Framework.Server 命名空间

继承层次结构

System.Object
  System.Web.Http.ApiController
    Microsoft.TeamFoundation.Framework.Server.TfsApiController
      Microsoft.TeamFoundation.Build.Server.Rest.AgentsController
      Microsoft.TeamFoundation.Build.Server.Rest.BuildRequestsController
      Microsoft.TeamFoundation.Build.Server.Rest.BuildsController
      Microsoft.TeamFoundation.Build.Server.Rest.BuildSymbolsController
      Microsoft.TeamFoundation.Build.Server.Rest.ContentController
      Microsoft.TeamFoundation.Build.Server.Rest.ControllersController
      Microsoft.TeamFoundation.Build.Server.Rest.DefinitionsController
      Microsoft.TeamFoundation.Build.Server.Rest.LabelsController
      Microsoft.TeamFoundation.Build.Server.Rest.ProcessTemplatesController
      Microsoft.TeamFoundation.Build.Server.Rest.ServersController
      Microsoft.TeamFoundation.Build.Server.Rest.TestResultsController
      Microsoft.TeamFoundation.Build.Server.RestControllers.DropsController
      Microsoft.TeamFoundation.Discussion.Server.DiscussionCommentsController
      Microsoft.TeamFoundation.Discussion.Server.DiscussionThreadsBatchController
      Microsoft.TeamFoundation.Discussion.Server.DiscussionThreadsController
      Microsoft.TeamFoundation.Framework.Server.AccessControlEntriesController
      Microsoft.TeamFoundation.Framework.Server.AccessControlListsController
      Microsoft.TeamFoundation.Framework.Server.ApiResourceOptionsController
      Microsoft.TeamFoundation.Framework.Server.ContainersController
      Microsoft.TeamFoundation.Framework.Server.DatabaseUpgradeQueueController
      Microsoft.TeamFoundation.Framework.Server.FeatureFlagsController
      Microsoft.TeamFoundation.Framework.Server.PermissionsController
      Microsoft.TeamFoundation.Framework.Server.SecurityNamespacesController
      Microsoft.VisualStudio.Services.Authentication.SignedInController
      Microsoft.VisualStudio.Services.Location.ConnectionDataController
      Microsoft.VisualStudio.Services.Location.ServiceDefinitionsController