MaxMind.GeoIP2 : MaxMind.GeoIP2.Exceptions Namespace

GeoIP2HttpException 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 GeoIP2HttpException : 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.2.0.0

Members

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

Public Constructors

Public Properties

[read-only]
HttpStatus System.Net.HttpStatusCode . Documentation for this section has not yet been entered.
[read-only]
Uri Uri . Documentation for this section has not yet been entered.

Member Details

GeoIP2HttpException Constructor

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

Syntax

public GeoIP2HttpException (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
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.2.0.0

GeoIP2HttpException Constructor

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

Syntax

public GeoIP2HttpException (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.2.0.0

HttpStatus Property

Documentation for this section has not yet been entered.

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

Uri Property

Documentation for this section has not yet been entered.

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