Class LimitMemoryException

Class LimitMemoryException

Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.7.0)

The limit memory exception. Occurs when memory usage should be reduced.

public class LimitMemoryException : OutOfMemoryException, ISerializable
{
}
Since the input code is already formatted according to standard C# conventions, there are no changes needed in this case.

Inheritance

object Exception SystemException OutOfMemoryException LimitMemoryException

Implements

ISerializable

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)
   {
      base(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)
   {
      base(message, 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)
   {
      base(message);
      this.ReduceMemoryFactor = 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)
   {
      base(message);
      InnerException = innerException;
      ReduceMemoryFactor = 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;
    }

Property Value

long

 English