Click or drag to resize

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.
Inheritance Hierarchy

Namespace:  MaxMind.GeoIP2.Exceptions
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public class InvalidRequestException : GeoIP2Exception

The InvalidRequestException type exposes the following members.

Constructors
  NameDescription
Public methodInvalidRequestException
Initializes a new instance of the InvalidRequestException class.
Top
Properties
  NameDescription
Public propertyCode
The error code returned by the web service.
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Public propertyUri
The URI queried by the web service.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top
Events
  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top
See Also