HttpResponseWrapper.Status Property
.NET Framework (current version)
Sets the Status value that is returned to the client.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.StringThe status of the HTTP output. The default value is "200 (OK)". For information about valid status codes, see HTTP Status Codes on the MSDN Web site.
| Exception | Condition |
|---|---|
| HttpException | Status is set to an invalid status code. |
.NET Framework
Available since 3.5
Available since 3.5
Show: