TfsApiController, classe

Hiérarchie d'héritage

System.Object
  System.Web.Http.ApiController
    Microsoft.TeamFoundation.Framework.Server.TfsApiController
      En savoir plus...

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
<LogExceptionFilterAttribute> _
<ActivityLoggingAttribute> _
<ActivityResponseFilterAttribute> _
Public Class TfsApiController _
    Inherits ApiController
[LogExceptionFilterAttribute]
[ActivityLoggingAttribute]
[ActivityResponseFilterAttribute]
public class TfsApiController : ApiController

Le type TfsApiController expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique TfsApiController

Début

Propriétés

  Nom Description
Propriété publique BaseHttpExceptions
Propriété publique Configuration (Hérité de ApiController.)
Propriété publique ControllerContext (Hérité de ApiController.)
Propriété publique HttpExceptions
Propriété publique ModelState (Hérité de ApiController.)
Propriété publique Request (Hérité de ApiController.)
Propriété publique RequestContext La méthode setter est uniquement pour le test unitaire
Propriété publique TraceArea
Propriété publique Url (Hérité de ApiController.)
Propriété publique User (Hérité de ApiController.)

Début

Méthodes

  Nom Description
Méthode publique Dispose() (Hérité de ApiController.)
Méthode protégée Dispose(Boolean) (Hérité de ApiController.)
Méthode publique Equals Détermine si l'objet spécifié est identique à l'objet actuel. (Hérité de Object.)
Méthode publique ExecuteAsync (Hérité de ApiController.)
Méthode protégée Finalize Autorise un objet à tenter de libérer des ressources et d'exécuter d'autres opérations de nettoyage avant qu'il ne soit récupéré par l'opération garbage collection. (Hérité de Object.)
Méthode publique GetHashCode Sert de fonction de hachage par défaut. (Hérité de Object.)
Méthode publique GetType Obtient le Type de l'instance actuelle. (Hérité de Object.)
Méthode protégée Initialize (Substitue ApiController.Initialize(HttpControllerContext).)
Méthode protégée MemberwiseClone Crée une copie superficielle de l'objet Object actuel. (Hérité de Object.)
Méthode publique ToString Retourne une chaîne qui représente l'objet actif. (Hérité de Object.)

Début

Méthodes d'extension

  Nom Description
Méthode d'extension publique GenerateResponse (Défini par TfsApiControllerExtensions.)

Début

Sécurité des threads

Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Référence

Microsoft.TeamFoundation.Framework.Server, espace de noms

Hiérarchie d'héritage

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