HttpResponseMessage 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
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.