Export (0) Print
Expand All

HttpDeleteAttribute Class

Represents an attribute that is used to restrict an action method so that the method handles only HTTP DELETE requests.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class HttpDeleteAttribute _
	Inherits ActionMethodSelectorAttribute
Dim instance As HttpDeleteAttribute

The HttpDeleteAttribute type exposes the following members.

Public methodHttpDeleteAttributeInitializes a new instance of the HttpDeleteAttribute class.

Public propertyTypeId (Inherited from Attribute.)

Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodIsValidForRequestDetermines whether the action method delete request is valid for the specified controller context. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)

For more information about how to use attributes, see Extending Metadata Using Attributes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft