Class LimitMemoryException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.8.0)
The limit memory exception. Occurs when memory usage should be reduced.
public class LimitMemoryException : OutOfMemoryException, ISerializableInheritance
object ← Exception ← SystemException ← OutOfMemoryException ← LimitMemoryException
Implements
Inherited Members
Exception.GetBaseException() , Exception.ToString() , Exception.GetType() , Exception.TargetSite , Exception.Message , Exception.Data , Exception.InnerException , Exception.HelpLink , Exception.Source , Exception.HResult , Exception.StackTrace , Exception.SerializeObjectState , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
LimitMemoryException(string)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.LimitMemoryException class.
public LimitMemoryException(string message)Parameters
message string
The exception message.
LimitMemoryException(string, Exception)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.LimitMemoryException class.
public LimitMemoryException(string message, Exception innerException)Parameters
message string
The exception message.
innerException Exception
The inner exception.
LimitMemoryException(string, long)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.LimitMemoryException class.
public LimitMemoryException(string message, long reduceMemoryFactor)Parameters
message string
The exception message.
reduceMemoryFactor long
The reduce memory factor.
LimitMemoryException(string, Exception, int)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.LimitMemoryException class.
public LimitMemoryException(string message, Exception innerException, int reduceMemoryFactor)Parameters
message string
The exception message.
innerException Exception
The inner exception.
reduceMemoryFactor int
The reduce memory factor.
Properties
ReduceMemoryFactor
Gets or sets the reduce memory factor.
public long ReduceMemoryFactor { get; set; }