Class StreamReadException
Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.2.0)
Die Ausnahme beim Lesen des Streams. Tritt auf, wenn das Lesen des Streams aufgrund eines falschen Offsets und einer falschen Byteanzahl-Anforderung fehlgeschlagen ist.
public class StreamReadException : FrameworkException, ISerializable
Vererbung
object ← Exception ← FrameworkException ← StreamReadException
Implementiert
Vererbte Mitglieder
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()
Konstruktoren
StreamReadException(string)
Initialisiert eine neue Instanz der Aspose.Imaging.CoreExceptions.StreamReadException-Klasse.
public StreamReadException(string message)
Parameter
message
string
Die Nachricht.
StreamReadException(string, Exception)
Initialisiert eine neue Instanz der Aspose.Imaging.CoreExceptions.StreamReadException-Klasse.
public StreamReadException(string message, Exception innerException)
Parameter
message
string
Die Nachricht.
innerException
Exception
Die innere Ausnahme.
StreamReadException(string, Exception, int, int)
Initialisiert eine neue Instanz der Aspose.Imaging.CoreExceptions.StreamReadException-Klasse.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
Parameter
message
string
Die Nachricht.
innerException
Exception
Die innere Ausnahme.
expectedReadCount
int
Die erwartete Leseanzahl.
actualReadCount
int
Die tatsächliche Leseanzahl.
StreamReadException(string, int, int)
Initialisiert eine neue Instanz der Aspose.Imaging.CoreExceptions.StreamReadException-Klasse.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
Parameter
message
string
Die Nachricht.
expectedReadCount
int
Die erwartete Leseanzahl.
actualReadCount
int
Die tatsächliche Leseanzahl.
Eigenschaften
ActualReadCount
Erhält die tatsächliche Anzahl der gelesenen Bytes.
public int ActualReadCount { get; }
Eigenschaftswert
ExpectedReadCount
Erhält die erwartete Anzahl der gelesenen Bytes.
public int ExpectedReadCount { get; }