GetObjectData(SerializationInfo, StreamingContext)
override
[System.Obsolete]public override void GetObjectData(SerializationInfo info, StreamingContext context)When overridden in a derived class, sets the
System.Runtime.Serialization.SerializationInfo with information about the exception.Parameters
infoSerializationInfo- The
System.Runtime.Serialization.SerializationInfothat holds the serialized object data about the exception being thrown. contextStreamingContext- The
System.Runtime.Serialization.StreamingContextthat contains contextual information about the source or destination.
Exceptions
System.ArgumentNullException- The
infoparameter is a null reference (Nothingin Visual Basic).
