ITargetingContextAccessor.GetContextAsync 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.
Retrieves the current targeting context.
public System.Threading.Tasks.ValueTask<Microsoft.FeatureManagement.FeatureFilters.TargetingContext> GetContextAsync();
abstract member GetContextAsync : unit -> System.Threading.Tasks.ValueTask<Microsoft.FeatureManagement.FeatureFilters.TargetingContext>
Public Function GetContextAsync () As ValueTask(Of TargetingContext)
Returns
The current targeting context.