AcceptVerbsAttribute Constructor (String[])
Visual Studio 2010
Initializes a new instance of the AcceptVerbsAttribute class by using a list of HTTP verbs that the action method will respond to.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- verbs
- Type: System.String[]
The HTTP verbs that the action method will respond to.
| Exception | Condition |
|---|---|
| ArgumentException | The verbs parameter is null or zero length. |
Community Additions
ADD
Show: