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.
See Also: Inherited members from GeoIP2Exception.
|
Initializes a new instance of the MaxMind.GeoIP2.Exceptions.InvalidRequestException class. |
|
Constructor for deserialization. |
override
|
GetObjectData
(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)Populates a SerializationInfo with the data needed to serialize the target object. |
Constructor for deserialization.Syntax
protected InvalidRequestException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)Parameters
- info
- The SerializationInfo with data.
- context
- The source for this deserialization.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Initializes a new instance of the MaxMind.GeoIP2.Exceptions.InvalidRequestException class.Syntax
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: 2.6.0.0
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: 2.6.0.0
Populates a SerializationInfo with the data needed to serialize the target object.Syntax
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)Parameters
- info
- The SerializationInfo to populate with data.
- context
- The destination (see StreamingContext) for this serialization.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2.Exceptions
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
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: 2.6.0.0