HttpResponseMessageProperty.StatusCode Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the status code of the current HTTP response to which this property is attached.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is set to less than 100 or greater than 599. |
This property has one of the values in the HttpStatusCode enumeration.
Show: