Mono Class Library: System.Collections.Generic.KeyNotFoundException Overview | Members

System.Collections.Generic.KeyNotFoundException Constructor

Constructs and initializes a new instance of the KeyNotFoundException class.

public KeyNotFoundException (string message)

Parameters

message
The message that describes the error. The content of message is intended to be understandable to the user. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Remarks

This constructor initializes the KeyNotFoundException.Message property of the new instance using message. If message is null, the KeyNotFoundException.Message property is initialized to an implementation-specific message. The KeyNotFoundException.InnerException property is initialized to null.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0