A filter that surrounds execution of action results successfully returned from an action.
public interface IResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IResultFilter = interface interface IFilterMetadata
Public Interface IResultFilter Implements IFilterMetadata
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. IResultFilter and IAsyncResultFilter implementations are also not executed in cases where an exception filter handles an exception by producing an action result.
|OnResultExecuted(ResultExecutedContext) OnResultExecuted(ResultExecutedContext) OnResultExecuted(ResultExecutedContext)||
Called after the action result executes.
|OnResultExecuting(ResultExecutingContext) OnResultExecuting(ResultExecutingContext) OnResultExecuting(ResultExecutingContext)||
Called before the action result executes.