AcceptVerbsAttribute Constructor (array<String>)
Initializes a new instance of the AcceptVerbsAttribute class by using a list of HTTP verbs that the action method will respond to.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Exception | Condition |
|---|---|
| ArgumentException | The verbs parameter is nullptr or zero length. |
Show: