Dela via


HttpRequestMessage Constructors

Definition

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

uri
Uri Uri

The Uri to request.

Applies to