ResultFilterAttribute ResultFilterAttribute ResultFilterAttribute Class

Definition

An abstract filter that asynchronously surrounds execution of the action result. Subclasses must override OnResultExecuting(ResultExecutingContext), OnResultExecuted(ResultExecutedContext) or OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) but not OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) and either of the other two.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public abstract class ResultFilterAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter
type ResultFilterAttribute = class
    inherit Attribute
    interface IResultFilter
    interface IFilterMetadata
    interface IAsyncResultFilter
    interface IOrderedFilter
Public MustInherit Class ResultFilterAttribute
Inherits Attribute
Implements IAsyncResultFilter, IOrderedFilter, IResultFilter
Inheritance
ResultFilterAttributeResultFilterAttributeResultFilterAttribute
Attributes
Implements

Constructors

ResultFilterAttribute() ResultFilterAttribute() ResultFilterAttribute()

Properties

Order Order Order

Methods

OnResultExecuted(ResultExecutedContext) OnResultExecuted(ResultExecutedContext) OnResultExecuted(ResultExecutedContext)
OnResultExecuting(ResultExecutingContext) OnResultExecuting(ResultExecutingContext) OnResultExecuting(ResultExecutingContext)
OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

Applies to