HttpRequestExtensions.GetHttpMethodOverride(HttpRequestBase) Method

Definition

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

public static string GetHttpMethodOverride (this System.Web.HttpRequestBase request);
static member GetHttpMethodOverride : System.Web.HttpRequestBase -> string
<Extension()>
Public Function GetHttpMethodOverride (request As HttpRequestBase) As String

Parameters

request
HttpRequestBase

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

Returns

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

Exceptions

The request parameter is null.

The HTTP data-transfer method override was not implemented.

Applies to