cete.dynamicpdf.imaging.imageparsingexception
ImageParsingException
- Namespace: ceTe.DynamicPDF.Imaging
- Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll
The exception that is thrown for an image parsing error.
public class ImageParsingException : GeneratorException, ISerializable
Public Class ImageParsingException
Inherits GeneratorException
Implements ISerializable
Inheritance: Object → Exception → GeneratorException → ImageParsingException
Implements: ISerializable
Licensing
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator for .NET Professional Edition
- DynamicPDF Generator for .NET Enterprise Edition
- DynamicPDF Merger for .NET Professional Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF ReportWriter for .NET Professional Edition
- DynamicPDF ReportWriter for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Professional Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Constructors
ImageParsingException(String)
Initializes a new instance of the ImageParsingException class.
public ImageParsingException(string message)
Public Sub New (message As String)
Parameters
- message: String
A String that describes the error.
Properties
Data
Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception)
public IDictionary Data { get; }
Public Property Data As IDictionary
Property Value
HelpLink
Gets or sets a link to the help file associated with this exception. (Inherited from Exception)
public string HelpLink { get; set; }
Public Property HelpLink As String
Property Value
HResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception)
public int HResult { get; }
Public ReadOnly Property HResult As Int32
Property Value
InnerException
Gets the Exception instance that caused the current exception. (Inherited from Exception)
public Exception InnerException { get; }
Public Property InnerException As Exception
Property Value
Message
Gets a message that describes the current exception. (Inherited from Exception)
public string Message { get; }
Public Property Message As String
Property Value
Source
Gets or sets the name of the application or the object that causes the error. (Inherited from Exception)
public string Source { get; set; }
Public Property Source As String
Property Value
Exceptions
The object must be a runtime Reflection object
StackTrace
Gets a string representation of the immediate frames on the call stack. (Inherited from Exception)
public string StackTrace { get; }
Public Property StackTrace As String
Property Value
TargetSite
Gets the method that throws the current exception. (Inherited from Exception)
public MethodBase TargetSite { get; }
Public Property TargetSite As MethodBase
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetBaseException()
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception)
public Exception GetBaseException()
Function GetBaseException() As Exception
Returns
The first exception thrown in a chain of exceptions. If the InnerException property of the current exception is a null reference (Nothing in Visual Basic), this property returns the current exception.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception)
public void GetObjectData(SerializationInfo info, StreamingContext context)
Sub GetObjectData(info As SerializationInfo, context As StreamingContext)
Parameters
- info: SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context: StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
The parameter is a null reference (Nothing in Visual Basic).
GetType()
Gets the runtime type of the current instance. (Inherited from Exception)
public Type GetType()
Function GetType() As Type
Returns
A Type object that represents the exact runtime type of the current instance.
ToString()
Creates and returns a string representation of the current exception. (Inherited from Exception)
public string ToString()
Function ToString() As String
Returns
A string representation of the current exception.