ContextualTargetingFilter 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立目標關聯式功能篩選。
public ContextualTargetingFilter (Microsoft.Extensions.Options.IOptions<Microsoft.FeatureManagement.FeatureFilters.TargetingEvaluationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.FeatureManagement.FeatureFilters.ContextualTargetingFilter : Microsoft.Extensions.Options.IOptions<Microsoft.FeatureManagement.FeatureFilters.TargetingEvaluationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.FeatureManagement.FeatureFilters.ContextualTargetingFilter
Public Sub New (options As IOptions(Of TargetingEvaluationOptions), loggerFactory As ILoggerFactory)
參數
- options
- IOptions<TargetingEvaluationOptions>
控制篩選所執行之目標評估行為的選項。
- loggerFactory
- ILoggerFactory
用於建立記錄器的記錄器處理站。