Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OcrException Constructor(SerializationInfo,StreamingContext)
See Also 
Leadtools.Forms.Ocr Namespace > OcrException Class > OcrException Constructor : OcrException Constructor(SerializationInfo,StreamingContext)



info
The object that holds the serialized object data.
context
The contextual information about the source or destination.
Initializes a new instance of the OcrException class with serialized data.

Syntax

Visual Basic (Declaration) 
Protected Function New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
Visual Basic (Usage)Copy Code
Dim info As SerializationInfo
Dim context As StreamingContext
 
Dim instance As OcrException(info, context)
C# 
protected OcrException( 
   SerializationInfo info,
   StreamingContext context
)
C++/CLI 
protected:
OcrException( 
   SerializationInfo^ info,
   StreamingContext context
)

Parameters

info
The object that holds the serialized object data.
context
The contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, refer to the topic "XML and SOAP Serialization" in the MSDN documentation.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

OcrException Constructor(SerializationInfo,StreamingContext) requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features