共用方式為


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

實作

適用於