IAsyncPageFilter 介面

定義

以非同步方式括住頁面處理常式方法執行的篩選準則。 只有當裝飾于處理常式的類型上,而不是個別處理常式方法時,才會執行此篩選。

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
衍生
實作

方法

OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate)

在模型系結完成之後,在叫用處理程式方法之前以非同步方式呼叫。

OnPageHandlerSelectionAsync(PageHandlerSelectedContext)

在選取處理常式方法之後,但在模型系結髮生之前,以非同步方式呼叫。

適用於