HttpStatusDescription class
Provides standard HTTP status descriptions. This class cannot be inherited.
internal static class HttpStatusDescription
Warning
This class is internal and is not meant to be used directly in your code.
Microsoft does not support the use of this class in a production application under any circumstance.
Get method
Returns the description associated with the specified HTTP status code.
internal static string Get(int code)
Parameters
code
Int32
The HTTP status code, for example, 404
.
Return value
The HTTP status description.
Requirements
Namespace: System.Net
Assembly: System (in System.dll)
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.