Delen via


TfsApiController Class

Inheritance Hierarchy

System.Object
  System.Web.Http.ApiController
    Microsoft.TeamFoundation.Framework.Server.TfsApiController
      More...

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<LogExceptionFilterAttribute> _
<ActivityLoggingAttribute> _
<ActivityResponseFilterAttribute> _
Public Class TfsApiController _
    Inherits ApiController
[LogExceptionFilterAttribute]
[ActivityLoggingAttribute]
[ActivityResponseFilterAttribute]
public class TfsApiController : ApiController
[LogExceptionFilterAttribute]
[ActivityLoggingAttribute]
[ActivityResponseFilterAttribute]
public ref class TfsApiController : public ApiController
[<LogExceptionFilterAttribute>]
[<ActivityLoggingAttribute>]
[<ActivityResponseFilterAttribute>]
type TfsApiController =  
    class 
        inherit ApiController 
    end
public class TfsApiController extends ApiController

The TfsApiController type exposes the following members.

Constructors

  Name Description
Public method TfsApiController

Top

Properties

  Name Description
Public property BaseHttpExceptions
Public property Configuration (Inherited from ApiController.)
Public property ControllerContext (Inherited from ApiController.)
Public property HttpExceptions
Public property ModelState (Inherited from ApiController.)
Public property Request (Inherited from ApiController.)
Public property RequestContext The Setter is only for Unit testing purposes
Public property TraceArea
Public property Url (Inherited from ApiController.)
Public property User (Inherited from ApiController.)

Top

Methods

  Name Description
Public method Dispose() (Inherited from ApiController.)
Protected method Dispose(Boolean) (Inherited from ApiController.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method ExecuteAsync (Inherited from ApiController.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize (Overrides ApiController.Initialize(HttpControllerContext).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method GenerateResponse (Defined by TfsApiControllerExtensions.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace

Inheritance Hierarchy

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