IAsyncPageFilter IAsyncPageFilter IAsyncPageFilter Interface

Definition

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 IAsyncPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IAsyncPageFilter = interface
    interface IFilterMetadata
Public Interface IAsyncPageFilter
Implements IFilterMetadata
Derived
Implements

Methods

OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate) OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate) OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate)

Called asynchronously before the handler method is invoked, after model binding is complete.

OnPageHandlerSelectionAsync(PageHandlerSelectedContext) OnPageHandlerSelectionAsync(PageHandlerSelectedContext) OnPageHandlerSelectionAsync(PageHandlerSelectedContext)

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

Applies to