HttpResponseBase.Status Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the Status value that is returned to the client.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual string Status { get; set; }

Property Value

Type: System.String

The status of the HTTP output. For information about valid status codes, see HTTP Status Codes on the MSDN Web site.

Exception Condition


.NET Framework
Available since 3.5
Return to top