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

HttpPatchAttribute.IsValidForRequest Method

Determines whether a request is a valid HTTP PATCH request.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public override bool IsValidForRequest(
	ControllerContext controllerContext,
	MethodInfo methodInfo
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

methodInfo
Type: System.Reflection.MethodInfo

The method info.

Return Value

Type: System.Boolean
true if the request is PATCH; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.