MvcFilter Class

When implemented in a derived class, provides a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope.


Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public ref class MvcFilter abstract : IMvcFilter

The MvcFilter type exposes the following members.

Protected methodMvcFilter()Initializes a new instance of the MvcFilter class.
Protected methodMvcFilter(Boolean, Int32)Initializes a new instance of the MvcFilter class and specifies the order of filters and whether multiple filters are allowed.

Public propertyAllowMultipleGets a value that indicates whether more than one instance of the filter attribute can be specified.
Public propertyOrderGets a value that indicates the order in which a filter is applied.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

For more information about ASP.NET MVC filters, see Filtering in ASP.NET MVC.

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