ActionFilterAttribute ActionFilterAttribute Class

Syntax

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public abstract class ActionFilterAttribute : Attribute, _Attribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter, IFilterMetadata<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Method, AllowMultiple:=True, Inherited:=True)>
Public MustInherit Class ActionFilterAttribute
    Inherits Attribute
    Implements _Attribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter, IFilterMetadata

Inheritance Hierarchy

  • System.Object
    System.Object
  • System.Attribute
    System.Attribute
  • ActionFilterAttribute
    ActionFilterAttribute

Inherited Members

GetCustomAttributes(MemberInfo, Type),
GetCustomAttributes(MemberInfo, Type),
GetCustomAttributes(MemberInfo, Type, Boolean),
GetCustomAttributes(MemberInfo, Type, Boolean),
GetCustomAttributes(MemberInfo),
GetCustomAttributes(MemberInfo),
GetCustomAttributes(MemberInfo, Boolean),
GetCustomAttributes(MemberInfo, Boolean),
IsDefined(MemberInfo, Type),
IsDefined(MemberInfo, Type),
IsDefined(MemberInfo, Type, Boolean),
IsDefined(MemberInfo, Type, Boolean),
GetCustomAttribute(MemberInfo, Type),
GetCustomAttribute(MemberInfo, Type),
GetCustomAttribute(MemberInfo, Type, Boolean),
GetCustomAttribute(MemberInfo, Type, Boolean),
GetCustomAttributes(ParameterInfo),
GetCustomAttributes(ParameterInfo),
GetCustomAttributes(ParameterInfo, Type),
GetCustomAttributes(ParameterInfo, Type),
GetCustomAttributes(ParameterInfo, Type, Boolean),
GetCustomAttributes(ParameterInfo, Type, Boolean),
GetCustomAttributes(ParameterInfo, Boolean),
GetCustomAttributes(ParameterInfo, Boolean),
IsDefined(ParameterInfo, Type),
IsDefined(ParameterInfo, Type),
IsDefined(ParameterInfo, Type, Boolean),
IsDefined(ParameterInfo, Type, Boolean),
GetCustomAttribute(ParameterInfo, Type),
GetCustomAttribute(ParameterInfo, Type),
GetCustomAttribute(ParameterInfo, Type, Boolean),
GetCustomAttribute(ParameterInfo, Type, Boolean),
GetCustomAttributes(Module, Type),
GetCustomAttributes(Module, Type),
GetCustomAttributes(Module),
GetCustomAttributes(Module),
GetCustomAttributes(Module, Boolean),
GetCustomAttributes(Module, Boolean),
GetCustomAttributes(Module, Type, Boolean),
GetCustomAttributes(Module, Type, Boolean),
IsDefined(Module, Type),
IsDefined(Module, Type),
IsDefined(Module, Type, Boolean),
IsDefined(Module, Type, Boolean),
GetCustomAttribute(Module, Type),
GetCustomAttribute(Module, Type),
GetCustomAttribute(Module, Type, Boolean),
GetCustomAttribute(Module, Type, Boolean),
GetCustomAttributes(Assembly, Type),
GetCustomAttributes(Assembly, Type),
GetCustomAttributes(Assembly, Type, Boolean),
GetCustomAttributes(Assembly, Type, Boolean),
GetCustomAttributes(Assembly),
GetCustomAttributes(Assembly),
GetCustomAttributes(Assembly, Boolean),
GetCustomAttributes(Assembly, Boolean),
IsDefined(Assembly, Type),
IsDefined(Assembly, Type),
IsDefined(Assembly, Type, Boolean),
IsDefined(Assembly, Type, Boolean),
GetCustomAttribute(Assembly, Type),
GetCustomAttribute(Assembly, Type),
GetCustomAttribute(Assembly, Type, Boolean),
GetCustomAttribute(Assembly, Type, Boolean),
Equals(Object),
Equals(Object),
GetHashCode(),
GetHashCode(),
Match(Object),
Match(Object),
IsDefaultAttribute(),
IsDefaultAttribute(),
_Attribute.GetTypeInfoCount(UInt32),
System.Runtime.InteropServices._Attribute.GetTypeInfoCount(UInt32),
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr),
System.Runtime.InteropServices._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr),
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr),
System.Runtime.InteropServices._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr),
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr),
System.Runtime.InteropServices._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr),
TypeId,
TypeId,
ToString(),
ToString(),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

Methods summary

Properties

  • Order
    Order
    public int Order { get; set; }Public Property Order As Integer

    Property Value

    • System.Int32
      System.Int32

Methods

  • OnActionExecuted(ActionExecutedContext)
    OnActionExecuted(ActionExecutedContext)
    public virtual void OnActionExecuted(ActionExecutedContext context)Public Overridable Sub OnActionExecuted(context As ActionExecutedContext)

    Parameters

  • OnActionExecuting(ActionExecutingContext)
    OnActionExecuting(ActionExecutingContext)
    public virtual void OnActionExecuting(ActionExecutingContext context)Public Overridable Sub OnActionExecuting(context As ActionExecutingContext)

    Parameters

  • OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)
    OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)
    public virtual Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)Public Overridable Function OnActionExecutionAsync(context As ActionExecutingContext, next As ActionExecutionDelegate) As Task

    Parameters

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • OnResultExecuted(ResultExecutedContext)
    OnResultExecuted(ResultExecutedContext)
    public virtual void OnResultExecuted(ResultExecutedContext context)Public Overridable Sub OnResultExecuted(context As ResultExecutedContext)

    Parameters

  • OnResultExecuting(ResultExecutingContext)
    OnResultExecuting(ResultExecutingContext)
    public virtual void OnResultExecuting(ResultExecutingContext context)Public Overridable Sub OnResultExecuting(context As ResultExecutingContext)

    Parameters

  • OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)
    OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)
    public virtual Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)Public Overridable Function OnResultExecutionAsync(context As ResultExecutingContext, next As ResultExecutionDelegate) As Task

    Parameters

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task

Details

Assembly

Microsoft.AspNetCore.Mvc.Core.dll