HttpResponseMessage Constructor (HttpStatusCode)

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

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
HttpResponseMessage(
	HttpStatusCode statusCode
)

Parameters

statusCode
Type: System.Net::HttpStatusCode
The status code of the HTTP response.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft