IsServerErrorStatusCode Method
Definition
- Namespace
- Cuemon.Extensions.Net
- Assemblies
- Cuemon.Extensions.Net.dll
IsServerErrorStatusCode(HttpStatusCode)
Determines whether the specified statusCode is within the server error related range.
public static bool IsServerErrorStatusCode(this HttpStatusCode statusCode)
Parameters
statusCodeHttpStatusCodeThe HttpStatusCode to evaluate.
Returns
- bool
trueif HttpStatusCode was in the Server Error range (500-599); otherwise,false.