Table of Contents

Class FilterAttribute

Namespace
System.Web.Http.Filters
Assembly
System.Web.Http.dll

Represents the base class for action-filter attributes.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public abstract class FilterAttribute : Attribute, IFilter
Inheritance
FilterAttribute
Implements
Derived
Inherited Members

Constructors

FilterAttribute()

Initializes a new instance of the FilterAttribute class.

protected FilterAttribute()

Properties

AllowMultiple

Gets a value that indicates whether multiple filters are allowed.

public virtual bool AllowMultiple { get; }

Property Value

bool

true if multiple filters are allowed; otherwise, false.