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; }