asp.net.ph

HttpWorkerRequest.GetStatusDescription Method

System.Web Namespace   HttpWorkerRequest Class


Returns a string that describes the name of the specified HTTP status code.

[ VB ]
<ComVisible ( False ) >
public Shared Function GetStatusDescription ( _
   ByVal code As Integer _
) As String

[ C# ]
 [ ComVisible ( false ) ] 
public static string GetStatusDescription (
   int code
);

[ C++ ]
 [ ComVisible ( false ) ] 
public: static String* GetStatusDescription (
   int code
);

[ JScript ]
public ComVisible ( false ) 
static function GetStatusDescription (
   code : int
) : String;

Parameters

code
The HTTP status code.

Return Value

The status description. For example, GetStatusDescription ( 404 ) returns "Not Found".

See Also

HttpWorkerRequest Members   HttpRuntime Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph