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 _
)
[C#]
public abstract void SendStatus(
 int statusCode,
 string statusDescription
);
[C++]
public: virtual void SendStatus(
 int statusCode,
 String* statusDescription
) = 0;
[JScript]
public abstract function SendStatus(
   statusCode : int,
 statusDescription : String
);

Parameters

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

Requirements

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

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show:
© 2015 Microsoft