Class StreamReadException
Името на пространството: Aspose.Imaging.CoreExceptions Асамблея: Aspose.Imaging.dll (25.4.0)
Изключението за четене на потока. причинено, когато пропускането на тока се дължи на погрешна отстъпка и искане за броя на байтове.
public class StreamReadException : FrameworkException, ISerializable
Inheritance
object ← Exception ← FrameworkException ← StreamReadException
Implements
наследници
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(Стрий)
Иницијализира нова инстанция на Aspose.Imaging.CoreExceptions.StreamReadException клас.
public StreamReadException(string message)
Parameters
message
string
Съобщението е.
StreamReadException(Стрелци, изключение)
Иницијализира нова инстанция на Aspose.Imaging.CoreExceptions.StreamReadException клас.
public StreamReadException(string message, Exception innerException)
Parameters
message
string
Съобщението е.
innerException
Exception
Вътрешното изключение.
StreamReadException(Стринг, Изключение, Int, int)
Иницијализира нова инстанция на Aspose.Imaging.CoreExceptions.StreamReadException клас.
public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)
Parameters
message
string
Съобщението е.
innerException
Exception
Вътрешното изключение.
expectedReadCount
int
Очаква се броят на читателите.
actualReadCount
int
Истинският брой на четенето.
StreamReadException(Тръмп, инт, инт)
Иницијализира нова инстанция на Aspose.Imaging.CoreExceptions.StreamReadException клас.
public StreamReadException(string message, int expectedReadCount, int actualReadCount)
Parameters
message
string
Съобщението е.
expectedReadCount
int
Очаква се броят на читателите.
actualReadCount
int
Истинският брой на четенето.
Properties
ActualReadCount
Налице е реално четене на байтове.
public int ActualReadCount { get; }
стойност на имота
ExpectedReadCount
Очаква се броят на битите за четене.
public int ExpectedReadCount { get; }