Share via


FeatureFlags.IsFeatureEnabledWithoutCustomization(String, Boolean) Method

Definition

Do not use this method as it's intended for Telemetry only. This is used to determine the value of a feature without user customization. To get the value of Feature flag use IsFeatureEnabled(String, Boolean) This will check for feature flag value in remote store, if not found, falls back to default store.

public:
 bool IsFeatureEnabledWithoutCustomization(System::String ^ featureName, bool defaultValue);
public bool IsFeatureEnabledWithoutCustomization (string featureName, bool defaultValue);
member this.IsFeatureEnabledWithoutCustomization : string * bool -> bool
Public Function IsFeatureEnabledWithoutCustomization (featureName As String, defaultValue As Boolean) As Boolean

Parameters

featureName
String

A string of the form ^(\w+.)+\w+$, following a pattern of [AreaPath].[Name]

defaultValue
Boolean

The value returned if there is an error processing the request or if the flag cannot be located.

Returns

The default value or current state of the feature flag if there is an error processing the request

Applies to