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. |
|
Constructor for deserialization. |
[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. |
override
|
GetObjectData
(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)Populates a SerializationInfo with the data needed to serialize the target object. |
Constructor for deserialization.Syntax
protected HttpException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)Parameters
- info
- The SerializationInfo with data.
- context
- The source for this deserialization.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
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: 2.6.0.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: 2.6.0.0
Populates a SerializationInfo with the data needed to serialize the target object.Syntax
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)Parameters
- info
- The SerializationInfo to populate with data.
- context
- The destination (see StreamingContext) for this serialization.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.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: 2.6.0.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: 2.6.0.0