Initializes an instance of the OutOfMemoryException class with default properties.
[Visual Basic] Overloads Public Sub New() [C#] public OutOfMemoryException(); [C++] public: OutOfMemoryException(); [JScript] public function OutOfMemoryException();
OutOfMemoryException inherits from the Exception class. This constructor sets the properties of the OutOfMemoryException object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The empty string. |
OutOfMemoryException Class | OutOfMemoryException Members | System Namespace | OutOfMemoryException Constructor Overload List