HttpWorkerRequest::SendStatus Method (Int32, String^)

 

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:
virtual void SendStatus(
	int statusCode,
	String^ statusDescription
) abstract

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: