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


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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