GetObjectData(SerializationInfo, StreamingContext)
public void GetObjectData(SerializationInfo info, StreamingContext context)Populates a
System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.Parameters
infoSerializationInfo- The
System.Runtime.Serialization.SerializationInfoto populate with data. contextStreamingContext- The destination (see
System.Runtime.Serialization.StreamingContext) for this serialization.
Exceptions
System.Security.SecurityException- The caller does not have the required permission.
