Class JpegLoadException
Tên không gian: Aspose.Imaging.CoreExceptions.ImageFormats Tổng hợp: Aspose.Imaging.dll (25.4.0)
Nó đại diện cho ngoại lệ tải hình ảnh JPEG.
public class JpegLoadException : JpegException, ISerializable
Inheritance
object ← Exception ← ImageException ← JpegException ← JpegLoadException
Implements
Thành viên thừa kế
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
JpegLoadException(String)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException.
public JpegLoadException(string message)
Parameters
message
string
Thông điệp ngoại lệ
JpegLoadException(String, ngoại lệ)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException.
public JpegLoadException(string message, Exception innerException)
Parameters
message
string
Thông điệp .
innerException
Exception
ngoại lệ bên trong.
JpegLoadException(Lời bài hát: ErrorReason)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException.
public JpegLoadException(string message, JpegLoadException.ErrorReason reason)
Parameters
message
string
Thông điệp ngoại lệ
reason
JpegLoadException
.
ErrorReason
Nguyên nhân của sai lầm
JpegLoadException(Lời bài hát: ErrorReason)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException.
public JpegLoadException(string message, Exception innerException, JpegLoadException.ErrorReason reason)
Parameters
message
string
Thông điệp ngoại lệ
innerException
Exception
ngoại lệ bên trong.
reason
JpegLoadException
.
ErrorReason
Nguyên nhân của sai lầm
Properties
Reason
Nhận hoặc đặt lý do lỗi.
public JpegLoadException.ErrorReason Reason { get; set; }