ThinkGeoCloudApplicationException¶
Namespace: ThinkGeo.Core
An exception which is thrown when an error from GIS Server has occured.
public class ThinkGeoCloudApplicationException : System.ApplicationException, System.Runtime.Serialization.ISerializable, System.Runtime.InteropServices._Exception
Inheritance Object → Exception → ApplicationException → ThinkGeoCloudApplicationException
Implements ISerializable, _Exception
Remarks:
An exception which is thrown when an error from GIS Server has occured.
Properties¶
StatusCode¶
Gets the HTTP status code.
public HttpStatusCode StatusCode { get; }
Property Value¶
HttpStatusCode
Message¶
public string Message { get; }
Property Value¶
Data¶
public IDictionary Data { get; }
Property Value¶
InnerException¶
public Exception InnerException { get; }
Property Value¶
TargetSite¶
public MethodBase TargetSite { get; }
Property Value¶
StackTrace¶
public string StackTrace { get; }
Property Value¶
HelpLink¶
public string HelpLink { get; set; }
Property Value¶
Source¶
public string Source { get; set; }
Property Value¶
HResult¶
public int HResult { get; protected set; }
Property Value¶
Constructors¶
ThinkGeoCloudApplicationException(HttpStatusCode, String, Exception)¶
Initializes an instace of GisServerServiceException with an HTTP code, an optional message and an optional inner exception.
public ThinkGeoCloudApplicationException(HttpStatusCode statusCode, string message, Exception innerException)
Parameters¶
statusCode
HttpStatusCode
The HTTP code returns from the server.
message
String
The error message from service if any.
innerException
Exception
The inner exception.