Class StreamReadException

Class StreamReadException

Названий на: Aspose.Imaging.CoreExceptions Асамблея: Aspose.Imaging.dll (25.4.0)

Виняток від читання потоку. викликаний, коли читання потоку провалилося через неправильну компенсацію і запит на розрахунок байтів.

public class StreamReadException : FrameworkException, ISerializable

Inheritance

object Exception FrameworkException StreamReadException

Implements

ISerializable

Нападні члени

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; }

вартість нерухомості

int

ExpectedReadCount

Очікується кількість байтів читання.

public int ExpectedReadCount { get; }

вартість нерухомості

int

 Українська