Name
OutOfMemoryException
Synopsis
This exception indicates that the .NET runtime has exhausted all available memory and usually means the CLR is in deep danger of dying altogether.
public class OutOfMemoryException : SystemException { // Public Constructors public OutOfMemoryException( ); public OutOfMemoryException(stringmessage
); public OutOfMemoryException(stringmessage
, ExceptioninnerException
); // Protected Constructors protected OutOfMemoryException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
); }
Hierarchy
Object
→
Exception(System.Runtime.Serialization.ISerializable)
→
SystemException
→
OutOfMemoryException
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.