AcceptVerbsAttribute Constructor (HttpVerbs)
Collapse the table of content
Expand the table of content

AcceptVerbsAttribute Constructor (HttpVerbs)

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)

public AcceptVerbsAttribute(
	HttpVerbs verbs
)

Parameters

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