This documentation is archived and is not being maintained.

FeatureFlagsController Class

Visual Studio 2013

Web API controller responsible for the Feature Flag Resource

System::Object
  System.Web.Http::ApiController
    Microsoft.TeamFoundation.Framework.Server::TfsApiController
      Microsoft.TeamFoundation.Framework.Server::FeatureFlagsController

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

public ref class FeatureFlagsController : public TfsApiController

The FeatureFlagsController type exposes the following members.

  NameDescription
Public propertyBaseHttpExceptions (Inherited from TfsApiController.)
Public propertyConfiguration (Inherited from ApiController.)
Public propertyControllerContext (Inherited from ApiController.)
Public propertyHttpExceptions (Overrides TfsApiController::HttpExceptions.)
Public propertyModelState (Inherited from ApiController.)
Public propertyRequest (Inherited from ApiController.)
Public propertyRequestContextThe Setter is only for Unit testing purposes (Inherited from TfsApiController.)
Public propertyTraceArea (Overrides TfsApiController::TraceArea.)
Public propertyUrl (Inherited from ApiController.)
Public propertyUser (Inherited from ApiController.)
Top

  NameDescription
Public methodDispose() (Inherited from ApiController.)
Protected methodDispose(Boolean) (Inherited from ApiController.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecuteAsync (Inherited from ApiController.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAllFeatureFlags()Retrieve a listing of all feature flags and their current states
Public methodGetAllFeatureFlags(String)
Public methodGetFeatureFlagByName(String)Retrieve information on a single feature flag and its current states
Public methodGetFeatureFlagByName(Guid, String)
Public methodGetFeatureFlagByName(String, String)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitialize (Inherited from TfsApiController.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPatchFeatureFlag(String, FeatureFlagPatchModel)Change the state of an individual feature flag
Public methodPatchFeatureFlag(String, String, FeatureFlagPatchModel)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberRouteNameThe name of the route assigned to this controller
Top

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