Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

HttpWorkerRequest.SendStatus Method

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

[Visual Basic]
Public MustOverride Sub SendStatus( _
   ByVal statusCode As Integer, _
   ByVal statusDescription As String _
public abstract void SendStatus(
 int statusCode,
 string statusDescription
public: virtual void SendStatus(
 int statusCode,
 String* statusDescription
) = 0;
public abstract function SendStatus(
   statusCode : int,
 statusDescription : String


The status code to send
The status description to send.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

© 2015 Microsoft