PageModel.OnPageHandlerExecutionAsync Method

Definition

Called asynchronously before the handler method is invoked, after model binding is complete.

public:
 virtual System::Threading::Tasks::Task ^ OnPageHandlerExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::PageHandlerExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::PageHandlerExecutionDelegate ^ next);
public virtual 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
override this.OnPageHandlerExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext * Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate -> System.Threading.Tasks.Task
Public Overridable Function OnPageHandlerExecutionAsync (context As PageHandlerExecutingContext, next As PageHandlerExecutionDelegate) As Task

Parameters

next
PageHandlerExecutionDelegate

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.

Implements

Applies to