mscorlib(4.0.0.0) API with additions
OutOfMemoryException.cs
3 
4 namespace System
5 {
8  [ComVisible(true)]
9  [__DynamicallyInvokable]
11  {
13  [__DynamicallyInvokable]
15  : base(Exception.GetMessageFromNativeResources(ExceptionMessageKind.OutOfMemory))
16  {
17  SetErrorCode(-2147024882);
18  }
19 
22  [__DynamicallyInvokable]
23  public OutOfMemoryException(string message)
24  : base(message)
25  {
26  SetErrorCode(-2147024882);
27  }
28 
32  [__DynamicallyInvokable]
33  public OutOfMemoryException(string message, Exception innerException)
34  : base(message, innerException)
35  {
36  SetErrorCode(-2147024882);
37  }
38 
43  : base(info, context)
44  {
45  }
46  }
47 }
Serves as the base class for system exceptions namespace.
OutOfMemoryException()
Initializes a new instance of the T:System.OutOfMemoryException class.
Definition: __Canon.cs:3
OutOfMemoryException(string message)
Initializes a new instance of the T:System.OutOfMemoryException class with a specified error message.
Describes the source and destination of a given serialized stream, and provides an additional caller-...
OutOfMemoryException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.OutOfMemoryException class with serialized data.
The exception that is thrown when there is not enough memory to continue the execution of a program.
OutOfMemoryException(string message, Exception innerException)
Initializes a new instance of the T:System.OutOfMemoryException class with a specified error message ...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
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.