KeyNotFoundException Constructor
.NET Framework 4.5
Initializes a new instance of the KeyNotFoundException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
KeyNotFoundException() | Initializes a new instance of the KeyNotFoundException class using default property values. |
|
KeyNotFoundException(String) | Initializes a new instance of the KeyNotFoundException class with the specified error message. |
|
KeyNotFoundException(SerializationInfo, StreamingContext) | Initializes a new instance of the KeyNotFoundException class with serialized data. |
|
KeyNotFoundException(String, Exception) | Initializes a new instance of the KeyNotFoundException class with the specified error message and a reference to the inner exception that is the cause of this exception. |