IAsyncPageFilter.OnPageHandlerSelectionAsync(PageHandlerSelectedContext) Method

Definition

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

Returns

Task

A Task that on completion indicates the filter has executed.

Applies to