Class StreamReadException
Именује се: Aspose.Imaging.CoreExceptions Асамблеја: Aspose.Imaging.dll (25.4.0)
Izuzetak za čitanje toka. uzrokovan kada je čitanje toka neuspeo zbog nepravilnog popusta i zahteva za brojem bajtova.
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(струнг, изузетак, инт, инт)
Иницијалише нову инстанцију 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; }