PDFsharp-net6

PdfSharpException

Namespace: PdfSharp

Base class of all exceptions in the PDFsharp frame work.

public class PdfSharpException : System.Exception, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionPdfSharpException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

PdfSharpException()

Initializes a new instance of the PdfSharpException class.

public PdfSharpException()

PdfSharpException(String)

Initializes a new instance of the PdfSharpException class.

public PdfSharpException(string message)

Parameters

message String
The exception message.

PdfSharpException(String, Exception)

Initializes a new instance of the PdfSharpException class.

public PdfSharpException(string message, Exception innerException)

Parameters

message String
The exception message.

innerException Exception
The inner exception.