This documentation is archived and is not being maintained.
HttpWorkerRequest.GetStatusDescription Method
.NET Framework 1.1
Returns a string that describes the name of the specified HTTP status code.
[Visual Basic] Public Shared Function GetStatusDescription( _ ByVal code As Integer _ ) As String [C#] public static string GetStatusDescription( int code ); [C++] public: static String* GetStatusDescription( int code ); [JScript] public static function GetStatusDescription( code : int ) : String;
Parameters
- code
- The HTTP status code.
Return Value
The status description. For example, GetStatusDescription (404) returns Not Found.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace
Show: