Share via


StatusDescription Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a text description of the HTTP status code returned to the client.

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

Syntax

'Declaration
Public Property StatusDescription As String
public string StatusDescription { get; set; }
public:
property String^ StatusDescription {
    String^ get ();
    void set (String^ value);
}
member StatusDescription : string with get, set
function get StatusDescription () : String
function set StatusDescription (value : String)

Property Value

Type: System. . :: . .String
The text description of the HTTP status code returned to the client. The default is the RFC 2616 description for the StatusCode property value, or an empty string ("") if an RFC 2616 description does not exist.

Remarks

The status description typically provides details that explain the StatusCode value.

.NET Framework Security

See Also

Reference

HttpListenerResponse Class

System.Net Namespace