HttpDeleteAttribute Class
Represents an attribute that is used to restrict an action method so that the method handles only HTTP DELETE requests.
System.Object
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.HttpDeleteAttribute
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.HttpDeleteAttribute
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The HttpDeleteAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
HttpDeleteAttribute | Initializes a new instance of the HttpDeleteAttribute class. |
| 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 a request is a valid HTTP DELETE request. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).) |
|
Match | (Inherited from Attribute.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
For more information about how to use attributes, see Extending Metadata Using Attributes.