Method | Description | |
---|---|---|
HttpWebException ( |
Initializes a new instance of the HttpWebException class with the specified response message. This method does not specify the reason why the HTTP response indicates a failure. In most cases, the failure is either due to the HTTP status code indicating an error (HttpResponseMessage.IsSuccessStatusCode is |
Method | Description | |
---|---|---|
HttpWebException ( ) : System |
public HttpWebException ( |
||
response | The response to the web request. | |
return | System |