GetObjectDataSerializationInfo
GetObjectData is a method used in some programming languages, particularly older versions of .NET, to support serialization. When an object is being serialized, the serialization runtime invokes this method on the object to retrieve the data that needs to be saved. This data is typically stored in a SerializationInfo object.
The GetObjectData method is part of the ISerializable interface. Classes that implement this interface must provide
When an object implementing ISerializable is deserialized, the serialization runtime uses the information stored in SerializationInfo