Stream.FlushAsync Method
.NET Framework (current version)
Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | FlushAsync() | Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. |
![]() | FlushAsync(CancellationToken) | Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests. |
Show:
