Class StreamReadException

Class StreamReadException

Název místa: Aspose.Imaging.CoreExceptions Shromáždění: Aspose.Imaging.dll (25.4.0)

Výjimka pro stream čtení. způsobena, když stream čtení selhal v důsledku nesprávné poptávky a žádosti o počítání bajt.

public class StreamReadException : FrameworkException, ISerializable

Inheritance

object Exception FrameworkException StreamReadException

Implements

ISerializable

Dědiční č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(Stringová)

Začíná nový příklad třídy Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message)

Parameters

message string

a poselstv.

StreamReadException(String, výjimka)

Začíná nový příklad třídy Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, Exception innerException)

Parameters

message string

a poselstv.

innerException Exception

Vnitřní výjimka je.

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

Začíná nový příklad třídy Aspose.Imaging.CoreExceptions.StreamReadException.

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

Parameters

message string

a poselstv.

innerException Exception

Vnitřní výjimka je.

expectedReadCount int

Očekávaný čtenářský počet.

actualReadCount int

Skutečný počet čten.

StreamReadException(Třída, int, int)

Začíná nový příklad třídy Aspose.Imaging.CoreExceptions.StreamReadException.

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

Parameters

message string

a poselstv.

expectedReadCount int

Očekávaný čtenářský počet.

actualReadCount int

Skutečný počet čten.

Properties

ActualReadCount

Obdrží skutečný počet čtených bajt.

public int ActualReadCount { get; }

Hodnota nemovitosti

int

ExpectedReadCount

Obdrží očekávaný počet čtených bajt.

public int ExpectedReadCount { get; }

Hodnota nemovitosti

int

 Čeština