Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

HttpRequestMessage Constructor (HttpMethod, String)

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)
public HttpRequestMessage(
	HttpMethod method,
	string requestUri
)

Parameters

method
Type: System.Net.Http.HttpMethod
The HTTP method.
requestUri
Type: System.String
A string that represents the request Uri.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.