LayoutException Constructor (SerializationInfo, StreamingContext)

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

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

Syntax

C#
protected LayoutException(
	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
ArgumentNullException The info parameter is null.
SerializationException The class name is null or HResult is zero (0).

See Also