SendStatus Method
TOC
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft