Method GetStatusCodeDescription
GetStatusCodeDescription(int)
Gets the description of the HTTP status based on its description.
public static string GetStatusCodeDescription(int statusCode)
Parameters
statusCode
intThe HTTP status code.
Returns
GetStatusCodeDescription(HttpStatusCode)
Gets the description of the HTTP status based on its description.
public static string GetStatusCodeDescription(HttpStatusCode statusCode)
Parameters
statusCode
HttpStatusCodeThe HTTP status code.