HttpRequestMessage Constructor (HttpMethod^, String^)
.NET Framework (current version)
Initializes a new instance of the HttpRequestMessage class with an HTTP method and a request Uri.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- method
-
Type:
System.Net.Http::HttpMethod^
The HTTP method.
- requestUri
-
Type:
System::String^
A string that represents the request Uri.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: