Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetHttpMethodOverride Method
Collapse the table of content
Expand the table of content

HttpRequestExtensions.GetHttpMethodOverride Method (HttpRequestBase)

 

Retrieves the HTTP data-transfer method override that was used by the client.

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

public static string GetHttpMethodOverride(
	this HttpRequestBase request
)

Parameters

request
Type: System.Web.HttpRequestBase

An object that contains the HTTP values that were sent by a client during a Web request.

Return Value

Type: System.String

The HTTP data-transfer method override that was used by the client.

Exception Condition
ArgumentNullException

The request parameter is null.

NotImplementedException

The HTTP data-transfer method override was not implemented.

Return to top
Show:
© 2015 Microsoft