Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRequestMessage.Method Property

Gets or sets the HTTP method used by the HTTP request message.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public HttpMethod Method { get; set; }

Property Value

Type: System.Net.Http.HttpMethod
© 2015 Microsoft