Class StreamReadException

Class StreamReadException

A név: Aspose.Imaging.CoreExceptions Összefoglaló: Aspose.Imaging.dll (25.4.0)

A stream olvasás kivétel. okozta, amikor a stream olvasás kudarcot okozott, mert a helytelen kártérítés és a bajt számítási kérelem.

public class StreamReadException : FrameworkException, ISerializable

Inheritance

object Exception FrameworkException StreamReadException

Implements

ISerializable

Örökletes tagok

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(A string)

Indít egy új példát a Aspose.Imaging.CoreExceptions.StreamReadException osztály.

public StreamReadException(string message)

Parameters

message string

Az üzenet.

StreamReadException(Szilveszter, kivétel)

Indít egy új példát a Aspose.Imaging.CoreExceptions.StreamReadException osztály.

public StreamReadException(string message, Exception innerException)

Parameters

message string

Az üzenet.

innerException Exception

A belső kivétel.

StreamReadException(szál, kivétel, int, int)

Indít egy új példát a Aspose.Imaging.CoreExceptions.StreamReadException osztály.

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

Parameters

message string

Az üzenet.

innerException Exception

A belső kivétel.

expectedReadCount int

A várt olvasási szám.

actualReadCount int

A tényleges olvasási szám.

StreamReadException(szál, int, int)

Indít egy új példát a Aspose.Imaging.CoreExceptions.StreamReadException osztály.

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

Parameters

message string

Az üzenet.

expectedReadCount int

A várt olvasási szám.

actualReadCount int

A tényleges olvasási szám.

Properties

ActualReadCount

Megkapja a tényleges olvasási bájt számát.

public int ActualReadCount { get; }

ingatlan értéke

int

ExpectedReadCount

Megkapja a várt olvasási bájt számát.

public int ExpectedReadCount { get; }

ingatlan értéke

int

 Magyar