## StreamReadException class

流读取异常。由于不正确的偏移量和字节数请求导致流读取失败时引起。

```csharp
public class StreamReadException : FrameworkException
```

## 构造函数

| 姓名 | 描述 |
| --- | --- |
| [StreamReadException](streamreadexception/#constructor)(string) | 初始化一个新的实例`StreamReadException`类. |
| [StreamReadException](streamreadexception/#constructor_2)(string, Exception) | 初始化一个新的实例`StreamReadException`类. |
| [StreamReadException](streamreadexception/#constructor_1)(string, int, int) | 初始化一个新的实例`StreamReadException`类. |
| [StreamReadException](streamreadexception/#constructor_3)(string, Exception, int, int) | 初始化一个新的实例`StreamReadException`类. |

## 特性

| 姓名 | 描述 |
| --- | --- |
| [ActualReadCount](../../aspose.psd.coreexceptions/streamreadexception/actualreadcount/) { get; } | 获取实际读取的字节数。 |
| [ExpectedReadCount](../../aspose.psd.coreexceptions/streamreadexception/expectedreadcount/) { get; } | 获取预期的读取字节数。 |

### 也可以看看

* class [FrameworkException](../frameworkexception/)
* 命名空间 [Aspose.PSD.CoreExceptions](../../aspose.psd.coreexceptions/)
* 部件 [Aspose.PSD](../../)


