Sdílet prostřednictvím


ConfigurationModelFactory.FeatureFlagConfigurationSetting Method

Definition

public static Azure.Data.AppConfiguration.FeatureFlagConfigurationSetting FeatureFlagConfigurationSetting (string featureId, bool isEnabled, string label = default, Azure.ETag eTag = default, DateTimeOffset? lastModified = default, bool? isReadOnly = default);
static member FeatureFlagConfigurationSetting : string * bool * string * Azure.ETag * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.Data.AppConfiguration.FeatureFlagConfigurationSetting
Public Shared Function FeatureFlagConfigurationSetting (featureId As String, isEnabled As Boolean, Optional label As String = Nothing, Optional eTag As ETag = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing) As FeatureFlagConfigurationSetting

Parameters

featureId
String

The identified of the feature flag.

isEnabled
Boolean

The value indicating whether the feature flag is enabled.

label
String

A label used to group this configuration setting with others.

eTag
ETag

An ETag indicating the version of a configuration setting within a configuration store.

lastModified
Nullable<DateTimeOffset>

The last time a modifying operation was performed on the given configuration setting.

isReadOnly
Nullable<Boolean>

A value indicating whether the configuration setting is read only.

Returns

Applies to