共用方式為


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完成時,表示已執行篩選。

適用於