Measuring |
public override Task WriteAsync( 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 writing. |
IOException | An I/O error occurred. |