Export (0) Print
Expand All

HttpRequestBase.HttpMethod Property

When overridden in a derived class, gets the HTTP data-transfer method (such as GET, POST, or HEAD) that was used by the client.

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

abstract HttpMethod : string with get 
override HttpMethod : string with get

Property Value

Type: System.String
The HTTP data-transfer method that was used by the client.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft