AcceptVerbsAttribute Class
Represents an attribute that specifies which HTTP verbs an action method will respond to.
System.Object
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.AcceptVerbsAttribute
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.AcceptVerbsAttribute
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The AcceptVerbsAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AcceptVerbsAttribute(String()) | Initializes a new instance of the AcceptVerbsAttribute class by using a list of HTTP verbs that the action method will respond to. |
![]() | AcceptVerbsAttribute(HttpVerbs) | Initializes a new instance of the AcceptVerbsAttribute class using the HTTP verbs that the action method will respond to. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | IsValidForRequest | Determines whether the specified method information is valid for the specified controller context. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).) |
![]() | Match | (Inherited from Attribute.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke | (Inherited from Attribute.) |
For more information about using attributes, see Extending Metadata Using Attributes.
Show:




