mscorlib(4.0.0.0) API with additions
KeyNotFoundException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System.Collections.Generic
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
[__DynamicallyInvokable]
10
public
class
KeyNotFoundException
:
SystemException
,
ISerializable
11
{
13
[__DynamicallyInvokable]
14
public
KeyNotFoundException
()
15
: base(
Environment
.GetResourceString(
"Arg_KeyNotFound"
))
16
{
17
SetErrorCode(-2146232969);
18
}
19
22
[__DynamicallyInvokable]
23
public
KeyNotFoundException
(
string
message)
24
: base(message)
25
{
26
SetErrorCode(-2146232969);
27
}
28
32
[__DynamicallyInvokable]
33
public
KeyNotFoundException
(
string
message,
Exception
innerException)
34
: base(message, innerException)
35
{
36
SetErrorCode(-2146232969);
37
}
38
42
protected
KeyNotFoundException
(
SerializationInfo
info,
StreamingContext
context)
43
: base(info, context)
44
{
45
}
46
}
47
}
System.Collections.Generic.KeyNotFoundException.KeyNotFoundException
KeyNotFoundException()
Initializes a new instance of the T:System.Collections.Generic.KeyNotFoundException class using defau...
Definition:
KeyNotFoundException.cs:14
System.Collections.Generic
Definition:
ArrayBuilder.cs:1
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Collections.Generic.KeyNotFoundException
The exception that is thrown when the key specified for accessing an element in a collection does not...
Definition:
KeyNotFoundException.cs:10
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.Collections.Generic.KeyNotFoundException.KeyNotFoundException
KeyNotFoundException(string message, Exception innerException)
Initializes a new instance of the T:System.Collections.Generic.KeyNotFoundException class with the sp...
Definition:
KeyNotFoundException.cs:33
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Runtime.Serialization.ISerializable
Allows an object to control its own serialization and deserialization.
Definition:
ISerializable.cs:8
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.Collections.Generic.KeyNotFoundException.KeyNotFoundException
KeyNotFoundException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.Collections.Generic.KeyNotFoundException class with serial...
Definition:
KeyNotFoundException.cs:42
System.Collections.Generic.KeyNotFoundException.KeyNotFoundException
KeyNotFoundException(string message)
Initializes a new instance of the T:System.Collections.Generic.KeyNotFoundException class with the sp...
Definition:
KeyNotFoundException.cs:23
All cs
System.Collections.Generic
KeyNotFoundException.cs
Generated by
1.8.15