Uređivanje

Dijeli putem


HttpResponseWrapper.StatusDescription Property

Definition

Gets or sets the HTTP status message of the output that is returned to the client.

public:
 virtual property System::String ^ StatusDescription { System::String ^ get(); void set(System::String ^ value); };
public override string StatusDescription { get; set; }
member this.StatusDescription : string with get, set
Public Overrides Property StatusDescription As String

Property Value

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.

Exceptions

StatusDescription was set after the HTTP headers were sent.

The status value is longer than 512 characters.

Applies to