IAsyncActionFilter.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.
Called asynchronously before the action, after model binding is complete.
public:
System::Threading::Tasks::Task ^ OnActionExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ActionExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ActionExecutionDelegate ^ next);
public System.Threading.Tasks.Task OnActionExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate next);
abstract member OnActionExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate -> System.Threading.Tasks.Task
Public Function OnActionExecutionAsync (context As ActionExecutingContext, next As ActionExecutionDelegate) As Task
Parameters
- context
- ActionExecutingContext
The ActionExecutionDelegate. Invoked to execute the next action filter or the action itself.
Returns
A Task that on completion indicates the filter has executed.