Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines availability state for feature
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function IsFeatureEnabled ( _
requestContext As TeamFoundationRequestContext, _
featureName As String _
) As Boolean
bool IsFeatureEnabled(
TeamFoundationRequestContext requestContext,
string featureName
)
bool IsFeatureEnabled(
TeamFoundationRequestContext^ requestContext,
String^ featureName
)
abstract IsFeatureEnabled :
requestContext:TeamFoundationRequestContext *
featureName:string -> bool
function IsFeatureEnabled(
requestContext : TeamFoundationRequestContext,
featureName : String
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- featureName
Type: System.String
Return Value
Type: System.Boolean
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.