AcceptVerbsAttribute Constructor (HttpVerbs)

Visual Studio 2010

Initializes a new instance of the AcceptVerbsAttribute class using the HTTP verbs that the action method will respond to.

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

'Declaration
Public Sub New ( _
	verbs As HttpVerbs _
)

Parameters

verbs
Type: System.Web.Mvc.HttpVerbs
The HTTP verbs that the action method will respond to.

Community Additions

ADD
Show: