The exception that is thrown when there is not enough memory to continue the execution of a program.
See Also: OutOfMemoryException Members
The following Microsoft intermediate (MSIL) instructions throw OutOfMemoryException :
box
newarr
newobj
OutOfMemoryException uses the HRESULT COR_E_OUTOFMEMORY, which has the value 0x8007000E.
For a list of initial property values for an instance of OutOfMemoryException, see the OutOfMemoryException.#ctor constructors.
The value of the inherited Exception.Data property is always null.