Bound |
public override Task<int> ReadAsync( byte[] buffer, int offset, int count, CancellationToken cancellationToken )
Exception | Condition |
---|---|
ArgumentNullException | buffer is null. |
ArgumentOutOfRangeException | offset is less than zero or greater than the length of buffer. -or- The buffer is not large enough to contain count bytes starting at the specified offset. |
ObjectDisposedException | The stream has been disposed. |
NotSupportedException | The stream does not support reading. |
OperationCanceledException | The operation was canceled via the cancellation token. |
IOException | An I/O error occurred. |