public static HasStatus ( this webEx, HttpStatusCode statusCode ) : bool | ||
webEx | this | |
statusCode | HttpStatusCode | |
Résultat | bool |
public static bool HasStatus(this WebException webEx, HttpStatusCode statusCode)
{
return GetStatus(webEx) == statusCode;
}