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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft