HttpWebResponse.StatusCode Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the status of the response.
Assembly: System.Net (in System.Net.dll)
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current instance has been disposed. |
The StatusCode parameter is a number that indicates the status of the HTTP response. The expected values for status are defined in the HttpStatusCode class.
Show: