Class StreamReadException
اسم الفضاء : Aspose.Imaging.CoreExceptions تجميع: Aspose.Imaging.dll (25.5.0)
استثناء قراءة البث.تسبب عندما فشلت قراءة البث بسبب إعفاءات غير صحيحة وطلب حساب بايت.
public class StreamReadException : FrameworkException, ISerializableInheritance
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(الستار)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message)Parameters
message string
الرسالة .
StreamReadException(الستار، استثناء)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message, Exception innerException)Parameters
message string
الرسالة .
innerException Exception
الاستثناء الداخلي
StreamReadException(إلغاء، إلغاء، إلغاء)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.CoreExceptions.StreamReadException.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)Parameters
message string
الرسالة .
innerException Exception
الاستثناء الداخلي
expectedReadCount int
عدد القراءة المتوقعة.
actualReadCount int
عدد القراءة الحقيقي.
StreamReadException(إنت، إنت، إنت، إنت)
يبدأ مثالًا جديدًا من فئة 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; }