Delen via


FeatureAvailabilityExtensionMethods Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.FeatureAvailabilityExtensionMethods

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class FeatureAvailabilityExtensionMethods
public static class FeatureAvailabilityExtensionMethods
[ExtensionAttribute]
public ref class FeatureAvailabilityExtensionMethods abstract sealed
[<AbstractClass>]
[<Sealed>]
type FeatureAvailabilityExtensionMethods =  class end
public final class FeatureAvailabilityExtensionMethods

The FeatureAvailabilityExtensionMethods type exposes the following members.

Methods

  Name Description
Public methodStatic member IsFeatureEnabled Checks the TeamFoundationFeatureAvailabilityService to detect if feature is enabled. The request context is elevated to bypass security checks which is permitted here since the request is initiated on the server side.

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