Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpPatchAttribute Class

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)>]
type HttpPatchAttribute =  
    class 
        inherit ActionMethodSelectorAttribute 
    end

The HttpPatchAttribute type exposes the following members.

  NameDescription
Public methodHttpPatchAttributeInitializes a new instance of the HttpPatchAttribute class.
Top
  NameDescription
Public propertyTypeId (Inherited from Attribute.)
Top
  NameDescription
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 request is valid for the specified controller context. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.