ActionFilterAttribute Class

Represents the base class for all action-filter attributes.

System.Object
  System.Attribute
    System.Web.Http.Filters.FilterAttribute
      System.Web.Http.Filters.ActionFilterAttribute

Namespace:  System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, 
	AllowMultiple = true)]
public abstract class ActionFilterAttribute : FilterAttribute, 
	IActionFilter, IFilter

The ActionFilterAttribute type exposes the following members.

  NameDescription
Protected methodActionFilterAttributeInitializes a new instance of the ActionFilterAttribute class.
Top

  NameDescription
Public propertyAllowMultipleGets a value that indicates whether multiple filters are allowed. (Inherited from FilterAttribute.)
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnActionExecutedOccurs after the action method is invoked.
Public methodOnActionExecutingOccurs before the action method is invoked.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate method_Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate methodIActionFilter.ExecuteActionFilterAsyncExecutes the filter action asynchronously.
Explicit interface implemetationPrivate method_Attribute.Invoke (Inherited from Attribute.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: