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 Constructor (HttpMethod, String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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


Type: System.Net.Http.HttpMethod
The HTTP method.
Type: System.String
A string that represents the request Uri.
© 2015 Microsoft