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-processing to ensure that any or all of the specified features 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.