Method
HttpStatusInformation.GetStatusCodeDescription
GetStatusCodeDescription(int) #
Gets the description of the specified HTTP status code.
public static string GetStatusCodeDescription(int statusCode)Parameters #
statusCode int
The HTTP status code.
Returns #
The description of the HTTP status code.
GetStatusCodeDescription(HttpStatusCode) #
Gets the description of the specified HTTP status code.
public static string GetStatusCodeDescription(HttpStatusCode statusCode)Parameters #
statusCode HttpStatusCode
The HttpStatusCode value.
Returns #
The description of the HTTP status code.