PageModel.OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate) 方法

定义

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

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

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

实现

适用于