Export (0) Print
Expand All

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.

System.Object
  System.Web.Mvc.MvcFilter

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

public abstract class MvcFilter : IMvcFilter

The MvcFilter type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

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.
Show:
© 2014 Microsoft