TeamFoundationFeatureAvailabilityService.IsFeatureEnabled Method
Determines availability state for feature
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function IsFeatureEnabled ( _
requestContext As TeamFoundationRequestContext, _
featureName As String _
) As Boolean
public virtual bool IsFeatureEnabled(
TeamFoundationRequestContext requestContext,
string featureName
)
public:
virtual bool IsFeatureEnabled(
TeamFoundationRequestContext^ requestContext,
String^ featureName
)
abstract IsFeatureEnabled :
requestContext:TeamFoundationRequestContext *
featureName:string -> bool
override IsFeatureEnabled :
requestContext:TeamFoundationRequestContext *
featureName:string -> bool
public function IsFeatureEnabled(
requestContext : TeamFoundationRequestContext,
featureName : String
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- featureName
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.
Implements
ITeamFoundationFeatureAvailabilityService.IsFeatureEnabled(TeamFoundationRequestContext, String)
Remarks
Note: once feature state is retrieved for a given request, its result is cached and used for subsequent retrievals within the same request lifespan
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.