PageModel.OnPageHandlerSelectionAsync(PageHandlerSelectedContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- context
- PageHandlerSelectedContext
Returns
A Task that on completion indicates the filter has executed.