IFeatureFilter.EvaluateAsync(FeatureFilterEvaluationContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluates the feature filter to see if the filter's criteria for being enabled has been satisfied.
public System.Threading.Tasks.Task<bool> EvaluateAsync (Microsoft.FeatureManagement.FeatureFilterEvaluationContext context);
abstract member EvaluateAsync : Microsoft.FeatureManagement.FeatureFilterEvaluationContext -> System.Threading.Tasks.Task<bool>
Public Function EvaluateAsync (context As FeatureFilterEvaluationContext) As Task(Of Boolean)
Parameters
- context
- FeatureFilterEvaluationContext
A feature filter evaluation context that contains information that may be needed to evaluate the filter. This context includes configuration, if any, for this filter for the feature being evaluated.
Returns
True if the filter's criteria has been met, false otherwise.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for