Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
- si
- The System.Runtime.Serialization.SerializationInfo to populate with data.
- context
- The System.Runtime.Serialization.StreamingContext that is the destination for this serialization.
For more information and a code example, see System.Runtime.Serialization.ISerializable.