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(字符, 例外, int, int)

启动 Aspose.Imaging.CoreExceptions.StreamReadException 类的新例子。

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

Parameters

message string

这个消息。

innerException Exception

内部的例外。

expectedReadCount int

等待的阅读数。

actualReadCount int

真实的阅读数。

StreamReadException(字体, int, int)

启动 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

 中文