Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

HttpRequestMessage Constructor (HttpMethod, Uri)

Initializes a new instance of the HttpRequestMessage class with an HTTP method and a request Uri.

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

new : 
        method:HttpMethod * 
        requestUri:Uri -> HttpRequestMessage

Parameters

method
Type: System.Net.Http.HttpMethod
The HTTP method.
requestUri
Type: System.Uri
The Uri to request.
Show:
© 2015 Microsoft