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

完成時的 , Task 表示已執行篩選。

適用於