System.Web.Hosting.SimpleWorkerRequest.SendStatus Method

Specifies the HTTP status code and status description of the response; for example, SendStatus(200, "Ok").

Syntax

public override void SendStatus (int statusCode, string statusDescription)

Parameters

statusCode
The status code to send
statusDescription
The status description to send.

Remarks

Documentation for this section has not yet been entered.

Requirements

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