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 method OutOfMemoryException(); public method OutOfMemoryException(string message); public method OutOfMemoryException(string message, Exception innerException); // Protected Constructors protected method OutOfMemoryException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Hierarchy
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→OutOfMemoryException
Get C# in a Nutshell 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.