The exception that is thrown when the key specified for
accessing an element in a IMap<(Of <(<'TKey, TValue>)>)> does not match any
key in the map.
Inheritance Hierarchy
| Object | ||||
| Exception | ||||
| SystemException | ||||
| KeyNotFoundException | ||||
| KeyNotFoundException<(Of <(<'TKey>)>)> | ||||
Assembly: Epic.Prelude
Declaration Syntax
| C# |
[SerializableAttribute] public sealed class KeyNotFoundException<TKey> : KeyNotFoundException where TKey : Object, IEquatable<TKey>
Generic Template Parameters
- TKey
- The type of keys in the map.
Members
| All Members | Constructors | Methods | Properties | ||
| Member | Description | |
|---|---|---|
| KeyNotFoundException<(Of <(<'TKey>)>)>(TKey, String) |
Initializes a new instance of the KeyNotFoundException<(Of <(<'TKey>)>)> class
with the specified error message and a reference to the inner exception that is
the cause of this exception.
| |
| KeyNotFoundException<(Of <(<'TKey>)>)>(TKey, String, Exception) |
Initializes a new instance of the KeyNotFoundException<(Of <(<'TKey>)>)> class
with the specified error message.
| |
| GetObjectData(SerializationInfo, StreamingContext) |
Gets the object data.
(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
| Key |
Gets the missing key.
|
