IAsyncPageFilter.OnPageHandlerSelectionAsync 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:
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
Parameters
- context
- PageHandlerSelectedContext
Returns
A Task that on completion indicates the filter has executed.