HttpWorkerRequest.SendStatus(Int32, String) Method

Definition

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

C#
public abstract void SendStatus (int statusCode, string statusDescription);

Parameters

statusCode
Int32

The status code to send.

statusDescription
String

The status description to send.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1