RequestedImageExceptionEventArgs¶
Namespace: ThinkGeo.Core
Provides data for the deprecated RequestedImageException event. This event is scheduled for removal after v14.5.
public class RequestedImageExceptionEventArgs : System.EventArgs
Inheritance object → EventArgs → RequestedImageExceptionEventArgs
Remarks:
To customize error handling going forward, configure LayerBase.DrawingExceptionMode and override .
Properties¶
Result¶
Gets or sets the image that triggered the exception.
public GeoImage Result { get; set; }
Property Value¶
Cancel¶
Gets or sets a value indicating whether subsequent processing should be canceled.
public bool Cancel { get; set; }
Property Value¶
ErrorMsg¶
Gets or sets the legacy error message text.
public string ErrorMsg { get; set; }
Property Value¶
Exception¶
Gets or sets the exception that occurred during rendering.
public Exception Exception { get; set; }
Property Value¶
Constructors¶
RequestedImageExceptionEventArgs()¶
Initializes a new instance of the RequestedImageExceptionEventArgs class.
public RequestedImageExceptionEventArgs()
RequestedImageExceptionEventArgs(GeoImage, string)¶
Initializes a new instance of the RequestedImageExceptionEventArgs class.
public RequestedImageExceptionEventArgs(GeoImage geoImage, string errorMsg)
Parameters¶
geoImage GeoImage
errorMsg string
RequestedImageExceptionEventArgs(GeoImage, Exception)¶
Initializes a new instance of the RequestedImageExceptionEventArgs class with the provided image and exception.
public RequestedImageExceptionEventArgs(GeoImage geoImage, Exception exception)
Parameters¶
geoImage GeoImage
The generated before the exception.
exception Exception
The exception that occurred.