共用方式為


RelayedHttpListenerResponse.StatusDescription Property

Definition

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

public string StatusDescription { get; set; }
member this.StatusDescription : string with get, set
Public Property StatusDescription As String

Property Value

The text description of the HTTP status code returned to the client.

Exceptions

The value specified for a set operation is null.

The value specified for a set operation contains non-printable characters.

An attempt was made to change this value after writing to the output stream.

Applies to