FeatureManagementBuilderExtensions.WithTargeting<T> 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.
Adds an ITargetingContextAccessor to be used for targeting and registers the targeting filter to the feature management system.
public static Microsoft.FeatureManagement.IFeatureManagementBuilder WithTargeting<T> (this Microsoft.FeatureManagement.IFeatureManagementBuilder builder) where T : Microsoft.FeatureManagement.FeatureFilters.ITargetingContextAccessor;
static member WithTargeting : Microsoft.FeatureManagement.IFeatureManagementBuilder -> Microsoft.FeatureManagement.IFeatureManagementBuilder (requires 'T :> Microsoft.FeatureManagement.FeatureFilters.ITargetingContextAccessor)
<Extension()>
Public Function WithTargeting(Of T As ITargetingContextAccessor) (builder As IFeatureManagementBuilder) As IFeatureManagementBuilder
Type Parameters
- T
Parameters
- builder
- IFeatureManagementBuilder
The IFeatureManagementBuilder used to customize feature management functionality.
Returns
A IFeatureManagementBuilder that can be used to customize feature management functionality.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應