Serializes the item.
info A System.Runtime.Serialization.SerializationInfo that holds the data needed to serialize the item. context A System.Runtime.Serialization.StreamingContext that represents the source and destination of the stream being serialized.