Class StreamReadException
De naam: Aspose.Imaging.CoreExceptions Verzameling: Aspose.Imaging.dll (25.5.0)
De stroom lezen uitzondering. veroorzaakt wanneer stroom lezen mislukt als gevolg van onjuiste offset en bytes tellen verzoek.
public class StreamReadException : FrameworkException, ISerializableInheritance
object ← Exception ← FrameworkException ← StreamReadException
Implements
Geëerbiede leden
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)
Initialiseert een nieuwe instantie van de Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message)Parameters
message string
De boodschap.
StreamReadException(String, uitzondering)
Initialiseert een nieuwe instantie van de Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message, Exception innerException)Parameters
message string
De boodschap.
innerException Exception
De innerlijke uitzondering.
StreamReadException(string, uitzondering, int, int)
Initialiseert een nieuwe instantie van de Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)Parameters
message string
De boodschap.
innerException Exception
De innerlijke uitzondering.
expectedReadCount int
De verwachte lezing.
actualReadCount int
De werkelijke leescijfer.
StreamReadException(String, int, int)
Initialiseert een nieuwe instantie van de Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)Parameters
message string
De boodschap.
expectedReadCount int
De verwachte lezing.
actualReadCount int
De werkelijke leescijfer.
Properties
ActualReadCount
Geeft de werkelijke leesbyten tellen.
public int ActualReadCount { get; }Eigendomswaarde
ExpectedReadCount
Geeft het verwachte leesbyten getal.
public int ExpectedReadCount { get; }