Class StreamReadException

Class StreamReadException

Tên không gian: Aspose.Imaging.CoreExceptions Tổng hợp: Aspose.Imaging.dll (25.4.0)

Sự ngoại lệ đọc dòng. Nguyên nhân khi đọc dòng thất bại do yêu cầu tính phí và byte không chính xác.

public class StreamReadException : FrameworkException, ISerializable

Inheritance

object Exception FrameworkException StreamReadException

Implements

ISerializable

Thành viên thừa kế

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

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message)

Parameters

message string

Thông điệp .

StreamReadException(String, ngoại lệ)

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.StreamReadException.

public StreamReadException(string message, Exception innerException)

Parameters

message string

Thông điệp .

innerException Exception

ngoại lệ bên trong.

StreamReadException(Bảng, ngoại lệ, int, int)

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.StreamReadException.

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

Parameters

message string

Thông điệp .

innerException Exception

ngoại lệ bên trong.

expectedReadCount int

Số lượng đọc dự kiến.

actualReadCount int

Số lượng đọc thực tế.

StreamReadException(Nhóm, int, int)

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.CoreExceptions.StreamReadException.

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

Parameters

message string

Thông điệp .

expectedReadCount int

Số lượng đọc dự kiến.

actualReadCount int

Số lượng đọc thực tế.

Properties

ActualReadCount

Nhận được số lượng byte đọc thực tế.

public int ActualReadCount { get; }

Giá trị bất động sản

int

ExpectedReadCount

Nhận được số lượng byte đọc dự kiến.

public int ExpectedReadCount { get; }

Giá trị bất động sản

int

 Tiếng Việt