Class LimitMemoryException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)
Ngoại lệ giới hạn bộ nhớ. Xảy ra khi việc sử dụng bộ nhớ cần được giảm.
public class LimitMemoryException : OutOfMemoryException, ISerializable
Kế thừa
object ← Exception ← SystemException ← OutOfMemoryException ← LimitMemoryException
Triển khai
Các thành viên kế thừa
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()
Các hàm khởi tạo
LimitMemoryException(string)
Khởi tạo một thể hiện mới của lớp Aspose.Imaging.CoreExceptions.LimitMemoryException.
public LimitMemoryException(string message)
Tham số
message
string
Thông điệp ngoại lệ.
LimitMemoryException(string, Exception)
Khởi tạo một thể hiện mới của lớp Aspose.Imaging.CoreExceptions.LimitMemoryException.
public LimitMemoryException(string message, Exception innerException)
Tham số
message
string
Thông điệp ngoại lệ.
innerException
Exception
Ngoại lệ bên trong.
LimitMemoryException(string, long)
Khởi tạo một thể hiện mới của lớp Aspose.Imaging.CoreExceptions.LimitMemoryException.
public LimitMemoryException(string message, long reduceMemoryFactor)
Tham số
message
string
Thông điệp ngoại lệ.
reduceMemoryFactor
long
Hệ số giảm bộ nhớ.
LimitMemoryException(string, Exception, int)
Khởi tạo một thể hiện mới của lớp Aspose.Imaging.CoreExceptions.LimitMemoryException.
public LimitMemoryException(string message, Exception innerException, int reduceMemoryFactor)
Tham số
message
string
Thông điệp ngoại lệ.
innerException
Exception
Ngoại lệ bên trong.
reduceMemoryFactor
int
Hệ số giảm bộ nhớ.
Thuộc tính
ReduceMemoryFactor
Lấy hoặc đặt hệ số giảm bộ nhớ.
public long ReduceMemoryFactor { get; set; }