KeyNotFoundException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the KeyNotFoundException class with serialized data.
Assembly: mscorlib (in mscorlib.dll)
The SerializationInfo that holds the serialized object data about the exception being thrown.
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.
Available since 2.0