Dela via


PageModel.OnPageHandlerSelectionAsync(PageHandlerSelectedContext) Method

Definition

Called asynchronously after the handler method has been selected, but before model binding occurs.

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

Parameters

Returns

A Task that on completion indicates the filter has executed.

Implements

Applies to