Click or drag to resize

HttpException Constructor (String, HttpStatusCode, Uri, Exception)

Initializes a new instance of the HttpException class.

Namespace:  MaxMind.GeoIP2.Exceptions
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public HttpException(
	string message,
	HttpStatusCode httpStatus,
	Uri uri,
	Exception innerException
)

Parameters

message
Type: SystemString
A message describing the reason why the exception was thrown.
httpStatus
Type: System.NetHttpStatusCode
The HTTP status of the response that caused the exception.
uri
Type: SystemUri
The URL queried.
innerException
Type: SystemException
The underlying exception that caused this one.
See Also