Method FlushAsync
FlushAsync(CancellationToken)
Asynchronously clears all buffers for this stream, and monitors cancellation requests.
public override Task FlushAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe token to monitor for cancellation requests.
Returns
- Task
A task that represents the asynchronous flush operation.
Exceptions
- ObjectDisposedException
The stream has been disposed.