MvcFilter Constructor

 

Initializes a new instance of the MvcFilter class.

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

NameDescription
System_CAPS_protmethodMvcFilter()

Initializes a new instance of the MvcFilter class.

System_CAPS_protmethodMvcFilter(Boolean, Int32)

Initializes a new instance of the MvcFilter class and specifies the order of filters and whether multiple filters are allowed.

Return to top

MvcFilter Constructor ()

Initializes a new instance of the MvcFilter class.

protected MvcFilter()
Return to top

MvcFilter Constructor (Boolean, Int32)

Initializes a new instance of the MvcFilter class and specifies the order of filters and whether multiple filters are allowed.

protected MvcFilter(
	bool allowMultiple,
	int order
)

Parameters

allowMultiple
Type: System.Boolean

true to specify that multiple filters of the same type are allowed; otherwise, false.

order
Type: System.Int32

The filter order.

Filter order determines order only for filters of the same type. For more information about ASP.NET MVC filters, see .

Return to top
Show: