Class StreamReadException
ชื่อพื้นที่: Aspose.Imaging.CoreExceptions การประกอบ: Aspose.Imaging.dll (25.4.0)
การยกเว้นการอ่าน Stream ที่เกิดเมื่อการอ่าน Stream ไม่ได้ประสบความสําเร็จเนื่องจากข้อเสนอแนะที่ผิดพลาดและคําขอการคํานวณบิต
public class StreamReadException : FrameworkException, ISerializable
Inheritance
object ← Exception ← FrameworkException ← StreamReadException
Implements
อนุญาโตตุลาการ
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
StreamReadException(รั้ว)
เริ่มต้นตัวอย่างใหม่ของ Class Aspose.Imaging.CoreExceptions.StreamReadException
public StreamReadException(string message)
Parameters
message
string
ข้อความ
StreamReadException(ใบมีดยกเว้น)
เริ่มต้นตัวอย่างใหม่ของ Class Aspose.Imaging.CoreExceptions.StreamReadException
public StreamReadException(string message, Exception innerException)
Parameters
message
string
ข้อความ
innerException
Exception
การยกเว้นภายใน
StreamReadException(string, การยกเว้น, int, int)
เริ่มต้นตัวอย่างใหม่ของ Class Aspose.Imaging.CoreExceptions.StreamReadException
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
Parameters
message
string
ข้อความ
innerException
Exception
การยกเว้นภายใน
expectedReadCount
int
จํานวนการอ่านที่คาดหวัง
actualReadCount
int
หมายเลขการอ่านจริง
StreamReadException(แหล่ง, int, int)
เริ่มต้นตัวอย่างใหม่ของ Class Aspose.Imaging.CoreExceptions.StreamReadException
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
Parameters
message
string
ข้อความ
expectedReadCount
int
จํานวนการอ่านที่คาดหวัง
actualReadCount
int
หมายเลขการอ่านจริง
Properties
ActualReadCount
รับคํานวณไบต์อ่านจริง
public int ActualReadCount { get; }
คุณสมบัติมูลค่า
ExpectedReadCount
รับคํานวณไบต์อ่านที่คาดหวัง
public int ExpectedReadCount { get; }