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 Shared Function GetStatusDescription (
	code As Integer
) As String

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: