IAsyncPageFilter.OnPageHandlerExecutionAsync 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 handler method is invoked, after model binding is complete.
public:
System::Threading::Tasks::Task ^ OnPageHandlerExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::PageHandlerExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::PageHandlerExecutionDelegate ^ next);
public System.Threading.Tasks.Task OnPageHandlerExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate next);
abstract member OnPageHandlerExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext * Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate -> System.Threading.Tasks.Task
Public Function OnPageHandlerExecutionAsync (context As PageHandlerExecutingContext, next As PageHandlerExecutionDelegate) As Task
Parameters
- context
- PageHandlerExecutingContext
The PageHandlerExecutionDelegate. Invoked to execute the next page filter or the handler method itself.
Returns
A Task that on completion indicates the filter has executed.