Class StreamReadException

Class StreamReadException

İsim alanı : Aspose.Imaging.CoreExceptions Toplantı: Aspose.Imaging.dll (25.4.0)

Akış okuma istisnası. akış okuma yanlış bir indirim ve byte sayma isteği nedeniyle başarısız olduğunda neden olur.

public class StreamReadException : FrameworkException, ISerializable

Inheritance

object Exception FrameworkException StreamReadException

Implements

ISerializable

mirasçı üyeleri

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(Sırt)

Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.

public StreamReadException(string message)

Parameters

message string

Mesaj için .

StreamReadException(Çerçeve, istisna)

Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.

public StreamReadException(string message, Exception innerException)

Parameters

message string

Mesaj için .

innerException Exception

İçsel bir istisna.

StreamReadException(Çerçeve, Eşsizlik, Int)

Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.

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

Parameters

message string

Mesaj için .

innerException Exception

İçsel bir istisna.

expectedReadCount int

beklenen okuma sayısı.

actualReadCount int

Gerçek okuma sayısı.

StreamReadException(Çerçeve , int , int)

Aspose.Imaging.CoreExceptions.StreamReadException sınıfının yeni bir örneğini başlatır.

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

Parameters

message string

Mesaj için .

expectedReadCount int

beklenen okuma sayısı.

actualReadCount int

Gerçek okuma sayısı.

Properties

ActualReadCount

Gerçek okuma byte sayımı alır.

public int ActualReadCount { get; }

Mülkiyet Değer

int

ExpectedReadCount

beklenen okuma byte sayısını alır.

public int ExpectedReadCount { get; }

Mülkiyet Değer

int

 Türkçe