IAsyncAlwaysRunResultFilter IAsyncAlwaysRunResultFilter IAsyncAlwaysRunResultFilter Interface

Definition

A filter that asynchronously surrounds execution of all action results.

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

Remarks

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.

Methods

OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

Called asynchronously before the action result.

(Inherited from IAsyncResultFilter)

Applies to