StreamReadException

StreamReadException class

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

public class StreamReadException : FrameworkException

Constructors

Name Description
StreamReadException(string) Initializes a new instance of the StreamReadException class.
StreamReadException(string, Exception) Initializes a new instance of the StreamReadException class.
StreamReadException(string, int, int) Initializes a new instance of the StreamReadException class.
StreamReadException(string, Exception, int, int) Initializes a new instance of the StreamReadException class.

Properties

Name Description
ActualReadCount { get; } Gets the actual read bytes count.
ExpectedReadCount { get; } Gets the expected read bytes count.

See Also