Stream. Flush Async Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flushes data asynchronously in a sequential stream.
public: IAsyncOperation<bool> ^ FlushAsync();
public IAsyncOperation<bool> FlushAsync();
Public Function FlushAsync () As IAsyncOperation(Of Boolean)
The stream flush operation.
The FlushAsync method improves, but does not guarantee durable and coherent storage of data and it introduces latencies. It's generally recommended to avoid this method to achieve good performance but it should be used if coherency is desired.