Share via


HttpResponseMessage Constructors

Definition

Overloads

HttpResponseMessage()

Initializes a new instance of the HttpResponseMessage class.

HttpResponseMessage(HttpStatusCode)

Initializes a new instance of the HttpResponseMessage class with a specific HttpStatusCode.

HttpResponseMessage()

Initializes a new instance of the HttpResponseMessage class.

public:
 HttpResponseMessage();
 HttpResponseMessage();
public HttpResponseMessage();
function HttpResponseMessage()
Public Sub New ()

See also

Applies to

HttpResponseMessage(HttpStatusCode)

Initializes a new instance of the HttpResponseMessage class with a specific HttpStatusCode.

public:
 HttpResponseMessage(HttpStatusCode statusCode);
 HttpResponseMessage(HttpStatusCode const& statusCode);
public HttpResponseMessage(HttpStatusCode statusCode);
function HttpResponseMessage(statusCode)
Public Sub New (statusCode As HttpStatusCode)

Parameters

statusCode
HttpStatusCode

The status code of the HTTP response.

See also

Applies to