PageModel.OnPageHandlerSelectionAsync(PageHandlerSelectedContext) 方法

定义

在选择处理程序方法之后,但在模型绑定发生之前异步调用。

public:
 virtual System::Threading::Tasks::Task ^ OnPageHandlerSelectionAsync(Microsoft::AspNetCore::Mvc::Filters::PageHandlerSelectedContext ^ context);
public virtual System.Threading.Tasks.Task OnPageHandlerSelectionAsync (Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context);
abstract member OnPageHandlerSelectionAsync : Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext -> System.Threading.Tasks.Task
override this.OnPageHandlerSelectionAsync : Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext -> System.Threading.Tasks.Task
Public Overridable Function OnPageHandlerSelectionAsync (context As PageHandlerSelectedContext) As Task

参数

返回

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

实现

适用于