FeatureGateAttribute.OnActionExecutionAsync 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.
Performs controller action pre-procesing to ensure that at least one of the specified feature flags are enabled.
public override System.Threading.Tasks.Task OnActionExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate next);
override this.OnActionExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate -> System.Threading.Tasks.Task
Public Overrides Function OnActionExecutionAsync (context As ActionExecutingContext, next As ActionExecutionDelegate) As Task
Parameters
- context
- ActionExecutingContext
The context of the MVC action.
The action delegate.
Returns
Returns a task representing the action execution unit of work.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET