HttpWorkerRequest.SendStatus Method (Int32, String)

 
System_CAPS_noteNote

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

Specifies the HTTP status code and status description of the response, such as SendStatus(200, "Ok").

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

public abstract void SendStatus(
	int statusCode,
	string statusDescription
)

Parameters

statusCode
Type: System.Int32

The status code to send

statusDescription
Type: System.String

The status description to send.

.NET Framework
Available since 1.1
Return to top
Show: