This class represents an HTTP transport error. This is not an error returned by the web service itself. As such, it is a IOException instead of a GeoIP2Exception.
See Also: Inherited members from System.IO.IOException.
|
Initializes a new instance of the MaxMind.GeoIP2.Exceptions.HttpException class. | |
|
Initializes a new instance of the MaxMind.GeoIP2.Exceptions.HttpException class. |
[read-only] | HttpStatus | System.Net.HttpStatusCode . The HTTP status code returned by the web service. |
[read-only] | Uri | Uri . The URI queried by the web service. |
Initializes a new instance of the MaxMind.GeoIP2.Exceptions.HttpException class.
Syntax
Parameters
- message
- A message describing the reason why the exception was thrown.
- httpStatus
- The HTTP status of the response that caused the exception.
- uri
- The URL queried.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.3.2.0
Initializes a new instance of the MaxMind.GeoIP2.Exceptions.HttpException class.
Syntax
public HttpException (string message, System.Net.HttpStatusCode httpStatus, Uri uri, Exception innerException)Parameters
- message
- A message describing the reason why the exception was thrown.
- httpStatus
- The HTTP status of the response that caused the exception.
- uri
- The URL queried.
- innerException
- The underlying exception that caused this one.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.3.2.0
The HTTP status code returned by the web service.
Syntax
public System.Net.HttpStatusCode HttpStatus { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.3.2.0
The URI queried by the web service.
Syntax
public Uri Uri { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.3.2.0