IAsyncAlwaysRunResultFilter Interface


A filter that asynchronously surrounds execution of all action results.

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


The IAsyncAlwaysRunResultFilter interface declares an IAsyncResultFilter implementation that should run for all action results. .

IResultFilter and IAsyncResultFilter instances are not executed in cases where an authorization filter or resource filter short-circuits the request to prevent execution of the action. IResultFilter and IAsyncResultFilter implementations are also not executed in cases where an exception filter handles an exception by producing an action result.


OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

Called asynchronously before the action result.

(Inherited from IAsyncResultFilter)

Applies to