IAsyncPageFilter.OnPageHandlerSelectionAsync 方法

定义

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

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

参数

返回

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

适用于