HttpResponseMessage.StatusCode Property

Gets or sets the status code of the HTTP response.

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

'Declaration
Public Property StatusCode As HttpStatusCode 
	Get 
	Set
'Usage
Dim instance As HttpResponseMessage 
Dim value As HttpStatusCode 

value = instance.StatusCode

instance.StatusCode = value

Property Value

Type: System.Net.HttpStatusCode
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft