Class StreamReadException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)
Akış okuma istisnası. Yanlış ofset ve byte sayısı talebi nedeniyle akış okuma başarısız olduğunda oluşur.
public class StreamReadException : FrameworkException, ISerializable
Miras
object ← Exception ← FrameworkException ← StreamReadException
Uygular
Miras Alınan Üyeler
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()
Yapıcılar
StreamReadException(string)
Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.
public StreamReadException(string message)
Parametreler
message
string
Mesaj.
StreamReadException(string, Exception)
Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.
public StreamReadException(string message, Exception innerException)
Parametreler
message
string
Mesaj.
innerException
Exception
İç istisna.
StreamReadException(string, Exception, int, int)
Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
Parametreler
message
string
Mesaj.
innerException
Exception
İç istisna.
expectedReadCount
int
Beklenen okuma sayısı.
actualReadCount
int
Gerçek okuma sayısı.
StreamReadException(string, int, int)
Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
Parametreler
message
string
Mesaj.
expectedReadCount
int
Beklenen okuma sayısı.
actualReadCount
int
Gerçek okuma sayısı.
Özellikler
ActualReadCount
Gerçek okunan byte sayısını alır.
public int ActualReadCount { get; }
Özellik Değeri
ExpectedReadCount
Beklenen okunan byte sayısını alır.
public int ExpectedReadCount { get; }