mscorlib(4.0.0.0) API with additions
IndexOutOfRangeException.cs
3 
4 namespace System
5 {
8  [ComVisible(true)]
9  [__DynamicallyInvokable]
11  {
13  [__DynamicallyInvokable]
15  : base(Environment.GetResourceString("Arg_IndexOutOfRangeException"))
16  {
17  SetErrorCode(-2146233080);
18  }
19 
22  [__DynamicallyInvokable]
23  public IndexOutOfRangeException(string message)
24  : base(message)
25  {
26  SetErrorCode(-2146233080);
27  }
28 
32  [__DynamicallyInvokable]
33  public IndexOutOfRangeException(string message, Exception innerException)
34  : base(message, innerException)
35  {
36  SetErrorCode(-2146233080);
37  }
38 
40  : base(info, context)
41  {
42  }
43  }
44 }
IndexOutOfRangeException()
Initializes a new instance of the T:System.IndexOutOfRangeException class.
IndexOutOfRangeException(string message)
Initializes a new instance of the T:System.IndexOutOfRangeException class with a specified error mess...
Serves as the base class for system exceptions namespace.
Definition: __Canon.cs:3
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
Definition: Environment.cs:21
The exception that is thrown when an attempt is made to access an element of an array or collection w...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
IndexOutOfRangeException(string message, Exception innerException)
Initializes a new instance of the T:System.IndexOutOfRangeException class with a specified error mess...
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
Specifies that the class can be serialized.