System.Web.HttpWorkerRequest.GetStatusDescription Method

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

Syntax

public static string GetStatusDescription (int code)

Parameters

code
The HTTP status code.

Returns

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

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0