IAsyncAlwaysRunResultFilter Rozhraní

Definice

Filtr, který asynchronně obklopuje provádění všech výsledků akce.

public interface class IAsyncAlwaysRunResultFilter : Microsoft::AspNetCore::Mvc::Filters::IAsyncResultFilter
public interface IAsyncAlwaysRunResultFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter
type IAsyncAlwaysRunResultFilter = interface
    interface IAsyncResultFilter
    interface IFilterMetadata
Public Interface IAsyncAlwaysRunResultFilter
Implements IAsyncResultFilter
Implementuje

Poznámky

Rozhraní IAsyncAlwaysRunResultFilter deklaruje IAsyncResultFilter implementaci, která se má spustit pro všechny výsledky akce. .

IResultFilter a IAsyncResultFilter instance se nespustí v případech, kdy filtr autorizace nebo zkratky filtru prostředků požadavek znemožní provedení akce. IResultFilter a IAsyncResultFilter implementace se také nespustí v případech, kdy filtr výjimek zpracovává výjimku tím, že vytvoří výsledek akce.

Metody

OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

Volá se asynchronně před výsledkem akce.

(Zděděno od IAsyncResultFilter)

Platí pro