Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > UnsupportedImageException Class > UnsupportedImageException Constructor > UnsupportedImageException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the UnsupportedImageException class.

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

Syntax

C#
protected UnsupportedImageException(
	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