Stream.FlushAsync Method (CancellationToken)
July 28, 2014
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function FlushAsync ( _ cancellationToken As CancellationToken _ ) As Task
Return ValueType: System.Threading.Tasks.Task
A task that represents the asynchronous flush operation.