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)

'Declaration
Public Sub New ( _
	statusCode As HttpStatusCode _
)
'Usage
Dim statusCode As HttpStatusCode 

Dim instance As New HttpResponseMessage(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