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;
- code
- The HTTP status code.
The status description. For example, GetStatusDescription ( 404 ) returns "Not Found".
HttpWorkerRequest Members HttpRuntime Class