Class StreamReadException

Class StreamReadException

Pôvodný názov: Aspose.Imaging.CoreExceptions Zhromaždenie: Aspose.Imaging.dll (25.4.0)

Výnimka pre stream čítanie. spôsobené, keď stream čítanie zlyhalo v dôsledku nesprávnej náhrady a požiadavky na počítanie bytov.

public class StreamReadException : FrameworkException, ISerializable

Inheritance

object Exception FrameworkException StreamReadException

Implements

ISerializable

Z dedičných členov

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(Stretnutie)

Initalizuje novú inštanciu triedy Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message)

Parameters

message string

a posolstvo .

StreamReadException(Stretch, výnimka)

Initalizuje novú inštanciu triedy Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, Exception innerException)

Parameters

message string

a posolstvo .

innerException Exception

Vnútorná výnimka

StreamReadException(String, výnimka, int, int)

Initalizuje novú inštanciu triedy Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, Exception innerException, int expectedReadCount, int actualReadCount)

Parameters

message string

a posolstvo .

innerException Exception

Vnútorná výnimka

expectedReadCount int

Očakávaný čítanie počtu.

actualReadCount int

Skutočný počet čítaní.

StreamReadException(striekačka, int, int)

Initalizuje novú inštanciu triedy Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, int expectedReadCount, int actualReadCount)

Parameters

message string

a posolstvo .

expectedReadCount int

Očakávaný čítanie počtu.

actualReadCount int

Skutočný počet čítaní.

Properties

ActualReadCount

Získava skutočný počítanie bytov.

public int ActualReadCount { get; }

Hodnota nehnuteľnosti

int

ExpectedReadCount

Získajte počítanie očakávaných čítaných bajtov.

public int ExpectedReadCount { get; }

Hodnota nehnuteľnosti

int

 Slovenčina