## StreamReadException class

The stream reading exception. Caused when stream reading failed due to incorrect offset and bytes count request.

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

## Constructors

| Name | Description |
| --- | --- |
| [StreamReadException](streamreadexception/#constructor)(string) | Initializes a new instance of the `StreamReadException` class. |
| [StreamReadException](streamreadexception/#constructor_2)(string, Exception) | Initializes a new instance of the `StreamReadException` class. |
| [StreamReadException](streamreadexception/#constructor_1)(string, int, int) | Initializes a new instance of the `StreamReadException` class. |
| [StreamReadException](streamreadexception/#constructor_3)(string, Exception, int, int) | Initializes a new instance of the `StreamReadException` class. |

## Properties

| Name | Description |
| --- | --- |
| [ActualReadCount](../../aspose.imaging.coreexceptions/streamreadexception/actualreadcount/) { get; } | Gets the actual read bytes count. |
| [ExpectedReadCount](../../aspose.imaging.coreexceptions/streamreadexception/expectedreadcount/) { get; } | Gets the expected read bytes count. |

### See Also

* class [FrameworkException](../frameworkexception/)
* namespace [Aspose.Imaging.CoreExceptions](../../aspose.imaging.coreexceptions/)
* assembly [Aspose.Imaging](../../)


