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(String)
شروع یک مثال جدید از کلاس 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(استثنا، استثنا، int، int)
شروع یک مثال جدید از کلاس 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; }