HttpRequestMessage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HttpRequestMessage() |
Initializes a new instance of the HttpRequestMessage class. |
HttpRequestMessage(HttpMethod, Uri) |
Initializes a new instance of the HttpRequestMessage class with an HTTP method and a request Uri. |
HttpRequestMessage()
Initializes a new instance of the HttpRequestMessage class.
public:
HttpRequestMessage();
HttpRequestMessage();
public HttpRequestMessage();
function HttpRequestMessage()
Public Sub New ()
See also
Applies to
HttpRequestMessage(HttpMethod, Uri)
Initializes a new instance of the HttpRequestMessage class with an HTTP method and a request Uri.
public:
HttpRequestMessage(HttpMethod ^ method, Uri ^ uri);
HttpRequestMessage(HttpMethod const& method, Uri const& uri);
public HttpRequestMessage(HttpMethod method, System.Uri uri);
function HttpRequestMessage(method, uri)
Public Sub New (method As HttpMethod, uri As Uri)
Parameters
- method
- HttpMethod
The HTTP method to perform