Sets the System.Runtime.Serialization.SerializationInfo object with the logical context information needed to recreate an instance of this execution context.
- info
- The System.Runtime.Serialization.SerializationInfo object to be populated with serialization information.
- context
- The System.Runtime.Serialization.StreamingContext structure representing the destination context of the serialization.
CompressedStack.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) sets a System.Runtime.Serialization.SerializationInfo with the logical call context information. During deserialization, the execution context object is reconstituted from the System.Runtime.Serialization.SerializationInfo transmitted over the stream.
For more information, see System.Runtime.Serialization.SerializationInfo.