Sets the System.Runtime.Serialization.SerializationInfo object with information about the exception.
- info
- The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.