Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

HttpWorkerRequest.GetStatusDescription Method

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


Type: System.Int32

The HTTP status code.

Return Value

Type: System.String
The status description. For example, GetStatusDescription (404) returns "Not Found".

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft