Version:
GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) Method
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
Syntax
public
virtual
void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Parameters
- info
- Type: System.Runtime.Serialization.SerializationInfo
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- Type: System.Runtime.Serialization.StreamingContext
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.