PageModel.OnPageHandlerExecutionAsync 方法

定义

在调用处理程序方法之前、模型绑定完成后异步调用。

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

参数

next
PageHandlerExecutionDelegate

PageHandlerExecutionDelegate 调用以执行下一页筛选器或处理程序方法本身。

返回

完成 Task 时指示筛选器已执行。

实现

适用于