MaxMind.GeoIP2 : MaxMind.GeoIP2.Exceptions Namespace

HttpException Class

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.

Syntax

public class HttpException : System.IO.IOException

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

Members

See Also: Inherited members from System.IO.IOException.

Public Constructors

Public Properties

[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.

Member Details

HttpException Constructor

Initializes a new instance of the MaxMind.GeoIP2.Exceptions.HttpException class.

Syntax

public HttpException (string message, System.Net.HttpStatusCode httpStatus, Uri uri)

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

HttpException Constructor

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

HttpStatus Property

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

Uri Property

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