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