Class StreamReadException
Namn på plats: Aspose.Imaging.CoreExceptions Församling: Aspose.Imaging.dll (25.4.0)
Den strömläsning undantag. orsakad när strömläsning misslyckades på grund av felaktig avgift och bytes räkning begäran.
public class StreamReadException : FrameworkException, ISerializable
Inheritance
object ← Exception ← FrameworkException ← StreamReadException
Implements
Arvsmedlemmar
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(Sträng)
Initialiserar en ny instans av Aspose.Imaging.CoreExceptions.StreamReadException klass.
public StreamReadException(string message)
Parameters
message
string
och budskapet .
StreamReadException(String, undantag)
Initialiserar en ny instans av Aspose.Imaging.CoreExceptions.StreamReadException klass.
public StreamReadException(string message, Exception innerException)
Parameters
message
string
och budskapet .
innerException
Exception
Det inre undantaget.
StreamReadException(sträng, undantag, int, int)
Initialiserar en ny instans av Aspose.Imaging.CoreExceptions.StreamReadException klass.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
Parameters
message
string
och budskapet .
innerException
Exception
Det inre undantaget.
expectedReadCount
int
Det förväntade läsnumret.
actualReadCount
int
Den verkliga läsningen räknas.
StreamReadException(sträng, int, int)
Initialiserar en ny instans av Aspose.Imaging.CoreExceptions.StreamReadException klass.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
Parameters
message
string
och budskapet .
expectedReadCount
int
Det förväntade läsnumret.
actualReadCount
int
Den verkliga läsningen räknas.
Properties
ActualReadCount
Få det faktiska läsbiten räknas.
public int ActualReadCount { get; }
Fastighetsvärde
ExpectedReadCount
Få det förväntade läsbyten räknas.
public int ExpectedReadCount { get; }