Class LimitMemoryException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)
内存限制异常。当内存使用量需要减少时发生。
public class LimitMemoryException : OutOfMemoryException, ISerializable
继承
object ← Exception ← SystemException ← OutOfMemoryException ← LimitMemoryException
实现
继承成员
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()
构造函数
LimitMemoryException(string)
初始化Aspose.Imaging.CoreExceptions.LimitMemoryException类的新实例。
public LimitMemoryException(string message)
参数
message
string
异常消息。
LimitMemoryException(string, Exception)
初始化Aspose.Imaging.CoreExceptions.LimitMemoryException类的新实例。
public LimitMemoryException(string message, Exception innerException)
参数
message
string
异常消息。
innerException
Exception
内部异常。
LimitMemoryException(string, long)
初始化Aspose.Imaging.CoreExceptions.LimitMemoryException类的新实例。
public LimitMemoryException(string message, long reduceMemoryFactor)
参数
message
string
异常消息。
reduceMemoryFactor
long
减少内存因子。
LimitMemoryException(string, Exception, int)
初始化Aspose.Imaging.CoreExceptions.LimitMemoryException类的新实例。
public LimitMemoryException(string message, Exception innerException, int reduceMemoryFactor)
参数
message
string
异常消息。
innerException
Exception
内部异常。
reduceMemoryFactor
int
减少内存因子。
属性
ReduceMemoryFactor
获取或设置减少内存因子。
public long ReduceMemoryFactor { get; set; }