Class PdfException
The exception that is thrown when an error condition occurs during opening, accessing or saving a PdfDocument.
Inheritance
System.Object
System.Exception
PdfException
Implements
System.Runtime.Serialization.ISerializable
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Pdf
Assembly: Sartorius.SAF.Pdf.dll
Syntax
[Serializable]
public class PdfException : Exception, ISerializable
Constructors
View SourcePdfException()
Create a new instance of PdfException class.
Declaration
public PdfException()
PdfException(SerializationInfo, StreamingContext)
Initializes a new instance of the PdfException class.
Declaration
protected PdfException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
PdfException(String, Exception)
Create a new instance of PdfException class.
Declaration
public PdfException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message. |
System.Exception | innerException | The inner exception |
Implements
System.Runtime.Serialization.ISerializable
Extension Methods
See Also
System.Exception