IAsyncPageFilter Interface
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.
A filter that asynchronously surrounds execution of a page handler method. This filter is executed only when decorated on a handler's type and not on individual handler methods.
public interface class IAsyncPageFilter : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
public interface IAsyncPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IAsyncPageFilter = interface
interface IFilterMetadata
Public Interface IAsyncPageFilter
Implements IFilterMetadata
- Derived
- Implements
Methods
OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate) |
Called asynchronously before the handler method is invoked, after model binding is complete. |
OnPageHandlerSelectionAsync(PageHandlerSelectedContext) |
Called asynchronously after the handler method has been selected, but before model binding occurs. |