Class StreamReadException
Navne til: Aspose.Imaging.CoreExceptions Sammensætning: Aspose.Imaging.dll (25.5.0)
Forårsaget, når streaming læsning mislykkes på grund af forkerte offset og byte tælling anmodning.
public class StreamReadException : FrameworkException, ISerializableInheritance
object ← Exception ← FrameworkException ← StreamReadException
Implements
De arvede medlemmer
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)
Initialiserer en ny instans af Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message)Parameters
message string
Det budskab.
StreamReadException(String, undtagelse)
Initialiserer en ny instans af Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message, Exception innerException)Parameters
message string
Det budskab.
innerException Exception
Det indre undtagelse.
StreamReadException(String, undtagelse, int, int)
Initialiserer en ny instans af Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)Parameters
message string
Det budskab.
innerException Exception
Det indre undtagelse.
expectedReadCount int
Det forventede læsningskonto.
actualReadCount int
Den virkelige læsning.
StreamReadException(String, int og int)
Initialiserer en ny instans af Aspose.Imaging.CoreExceptions.StreamReadException klasse.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)Parameters
message string
Det budskab.
expectedReadCount int
Det forventede læsningskonto.
actualReadCount int
Den virkelige læsning.
Properties
ActualReadCount
Få det faktiske læsning bytes tælle.
public int ActualReadCount { get; }Ejendomsværdi
ExpectedReadCount
Få det forventede læsebytes tal.
public int ExpectedReadCount { get; }