Visual Basic (Declaration) | |
---|---|
Protected Function New( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family