PdfException Constructor (SerializationInfo, StreamingContext)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfException Class > PdfException Constructor > PdfException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the PdfException class.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
protected PdfException(
	SerializationInfo info,
	StreamingContext context
)
VB
Protected Sub New ( 
	info As SerializationInfo,
	context As StreamingContext
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext that contains contextual information about the source or destination.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe info parameter is null.
SerializationException The class name is null or HResult is zero (0).

See Also