MaxMind.GeoIP2 : MaxMind.GeoIP2.Exceptions Namespace

InvalidRequestException Class

This class represents a non-specific error returned by MaxMind's GeoIP2 web service. This occurs when the web service is up and responding to requests, but the request sent was invalid in some way.

Syntax

public class InvalidRequestException : GeoIP2Exception

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

Public Constructors

Public Properties

[read-only]
Code string . The error code returned by the web service.
[read-only]
Uri Uri . The URI queried by the web service.

Member Details

InvalidRequestException Constructor

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

Syntax

public InvalidRequestException (string message, string code, Uri uri)

Parameters

message
A message explaining the cause of the error.
code
The error code returned by the web service.
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

Code Property

The error code returned by the web service.

Syntax

public string Code { 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