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 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

擴充方法

  名稱 描述
公用擴充方法 GenerateResponse (以 TfsApiControllerExtensions 定義。)

回頁首

執行緒安全

這個類型的任何 Public 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