System.Web.HttpResponse.Status Property

Sets the Status line that is returned to the client.

Syntax

public string Status { set; get; }

Value

The current HTTP status.

Remarks

HttpResponse.Status has been deprecated in favor of HttpResponse.StatusDescription and is provided only for compatibility with earlier versions of ASP. With ASP.NET, use HttpResponse.StatusDescription instead.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0