C# Class OpenStack.Net.HttpWebException

Inheritance: System.Net.WebException
Exibir arquivo Open project: crowdy/OpenStack-ConoHa

Public Methods

Method Description
HttpWebException ( HttpResponseMessage response ) : System

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 ), or the response headers or body indicates a failure occurred with respect to a particular API call.

Private Methods

Method Description
HttpWebException ( ) : System

Method Details

HttpWebException() public method

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 ), or the response headers or body indicates a failure occurred with respect to a particular API call.
If is .
public HttpWebException ( HttpResponseMessage response ) : System
response System.Net.Http.HttpResponseMessage The response to the web request.
return System