Редагувати

Поділитися через


HttpResponseWrapper.Status Property

Definition

Sets the Status value that is returned to the client.

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

Property Value

The status of the HTTP output. The default value is "200 (OK)". For information about valid status codes, see HTTP Status Codes.

Exceptions

Status is set to an invalid status code.

Applies to