## StreamReadException class

Strömläsningsundantaget. Orsakades när strömläsning misslyckades på grund av felaktig offset och begäran om byteräkning.

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

## Konstruktörer

| namn | Beskrivning |
| --- | --- |
| [StreamReadException](streamreadexception#constructor)(string) | Initierar en ny instans av[`StreamReadException`](../streamreadexception) class. |
| [StreamReadException](streamreadexception#constructor_2)(string, Exception) | Initierar en ny instans av[`StreamReadException`](../streamreadexception) class. |
| [StreamReadException](streamreadexception#constructor_1)(string, int, int) | Initierar en ny instans av[`StreamReadException`](../streamreadexception) class. |
| [StreamReadException](streamreadexception#constructor_3)(string, Exception, int, int) | Initierar en ny instans av[`StreamReadException`](../streamreadexception) class. |

## Egenskaper

| namn | Beskrivning |
| --- | --- |
| [ActualReadCount](../../aspose.imaging.coreexceptions/streamreadexception/actualreadcount) { get; } | Får det faktiska antalet lästa byte. |
| [ExpectedReadCount](../../aspose.imaging.coreexceptions/streamreadexception/expectedreadcount) { get; } | Får det förväntade antalet lästa byte. |

### Se även

* class [FrameworkException](../frameworkexception)
* namnutrymme [Aspose.Imaging.CoreExceptions](../../aspose.imaging.coreexceptions)
* hopsättning [Aspose.Imaging](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Imaging.dll -->
