The OcrSupportLockedException Constructor(SerializationInfo,StreamingContext) is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the OcrSupportLockedException class with serialized data.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 New OcrSupportLockedException(info, context) |
C# | |
---|---|
protected OcrSupportLockedException( SerializationInfo info, StreamingContext context ) |
C++/CLI | |
---|---|
protected: OcrSupportLockedException( SerializationInfo^ info, StreamingContext context ) |
Parameters
- info
- The object that holds the serialized object data.
- context
- The contextual information about the source or destination.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7