Click or drag to resize

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

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

The HttpException type exposes the following members.

Constructors
  NameDescription
Public methodHttpException(String, HttpStatusCode, Uri)
Initializes a new instance of the HttpException class.
Public methodHttpException(String, HttpStatusCode, Uri, Exception)
Initializes a new instance of the HttpException class.
Top
Properties
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyHttpStatus
The HTTP status code returned by the web service.
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