IAlwaysRunResultFilter IAlwaysRunResultFilter IAlwaysRunResultFilter Interface

Definition

A filter that surrounds execution of all action results.

public interface IAlwaysRunResultFilter : Microsoft.AspNetCore.Mvc.Filters.IResultFilter
type IAlwaysRunResultFilter = interface
    interface IResultFilter
    interface IFilterMetadata
Public Interface IAlwaysRunResultFilter
Implements IResultFilter
Implements

Remarks

The IAlwaysRunResultFilter interface declares an IResultFilter 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

OnResultExecuted(ResultExecutedContext) OnResultExecuted(ResultExecutedContext) OnResultExecuted(ResultExecutedContext)

Called after the action result executes.

(Inherited from IResultFilter)

OnResultExecuting(ResultExecutingContext) OnResultExecuting(ResultExecutingContext) OnResultExecuting(ResultExecutingContext)

Called before the action result executes.

(Inherited from IResultFilter)

Applies to