Class StreamReadException

Class StreamReadException

Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)

חריגת קריאת הזרם. נגרמת כאשר קריאת הזרם נכשלה עקב בקשה לא נכונה של הזזה ומספר בתים.

public class StreamReadException : FrameworkException, ISerializable

ירושה

objectExceptionFrameworkExceptionStreamReadException

מיישם

ISerializable

חברים ירושים

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()

בונים

StreamReadException(string)

מאתחל מופע חדש של מחלקת Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message)

פרמטרים

message string

ההודעה.

StreamReadException(string, Exception)

מאתחל מופע חדש של מחלקת Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, Exception innerException)

פרמטרים

message string

ההודעה.

innerException Exception

החריגה הפנימית.

StreamReadException(string, Exception, int, int)

מאתחל מופע חדש של מחלקת Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)

פרמטרים

message string

ההודעה.

innerException Exception

החריגה הפנימית.

expectedReadCount int

מספר הקריאות הצפוי.

actualReadCount int

מספר הקריאות בפועל.

StreamReadException(string, int, int)

מאתחל מופע חדש של מחלקת Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, int expectedReadCount, int actualReadCount)

פרמטרים

message string

ההודעה.

expectedReadCount int

מספר הקריאות הצפוי.

actualReadCount int

מספר הקריאות בפועל.

מאפיינים

ActualReadCount

מקבל את מספר הבתים שנקראו בפועל.

public int ActualReadCount { get; }

ערך המאפיין

int

ExpectedReadCount

מקבל את מספר הבתים הצפוי לקריאה.

public int ExpectedReadCount { get; }

ערך המאפיין

int

 Ελληνικά