Partager via


AcceptVerbsAttribute Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the AcceptVerbsAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AcceptVerbsAttribute(String[]) Initializes a new instance of the AcceptVerbsAttribute class by using a list of HTTP verbs that the action method will respond to.
Public method AcceptVerbsAttribute(HttpVerbs) Initializes a new instance of the AcceptVerbsAttribute class using the HTTP verbs that the action method will respond to.

Top

See Also

Reference

AcceptVerbsAttribute Class

System.Web.Mvc Namespace