Provides COM objects with version-independent access to the Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method
- info
- The System.Runtime.Serialization.SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext structure that contains contextual information about the source or destination.
This method is for access to managed classes from unmanaged code and should not be called from managed code.
The Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method sets the System.Runtime.Serialization.SerializationInfo object with information about the exception.