HttpWorkerRequest.GetStatusDescription Method (Int32)

 

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public static string GetStatusDescription(
	int code
)

Parameters

code
Type: System.Int32

The HTTP status code.

Return Value

Type: System.String

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

.NET Framework
Available since 1.1
Return to top
Show: