HttpResponseWrapper::StatusDescription Property
.NET Framework (current version)
Gets or sets the HTTP status message of the output that is returned to the client.
Assembly: System.Web (in System.Web.dll)
public: property String^ StatusDescription { virtual String^ get() override; virtual void set(String^ value) override; }
Property Value
Type: System::String^The status message of the HTTP output that is returned to the client. The default value is "OK". For information about valid status codes, see HTTP Status Codes on the MSDN Web site.
| Exception | Condition |
|---|---|
| HttpException | StatusDescription was set after the HTTP headers were sent. |
| ArgumentOutOfRangeException | The status value is longer than 512 characters. |
.NET Framework
Available since 3.5
Available since 3.5
Show: