MalformedLineException::GetObjectData Method (SerializationInfo^, StreamingContext)
Sets the SerializationInfo object with information about the exception.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
public: [SecurityCriticalAttribute] [SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The StreamingContext structure that contains contextual information about the source or destination.
This method sets a SerializationInfo object with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo transmitted over the stream.
Available since 2.0