Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
- serializationInfo
- The System.Runtime.Serialization.SerializationInfo to populate with data.
- streamingContext
- A System.Runtime.Serialization.StreamingContext that specifies the destination for this serialization.
Any objects included in the System.Runtime.Serialization.SerializationInfo are automatically tracked and serialized by the formatter.