Share via


FileRandomAccessStream.FlushAsync Method

Definition

Flushes data asynchronously in a sequential stream.

public:
 virtual IAsyncOperation<bool> ^ FlushAsync() = FlushAsync;
IAsyncOperation<bool> FlushAsync();
public IAsyncOperation<bool> FlushAsync();
function flushAsync()
Public Function FlushAsync () As IAsyncOperation(Of Boolean)

Returns

The stream flush operation.

Implements

Remarks

The FlushAsync method may produce latencies and does not always guarantee durable and coherent storage of data. It's generally recommended to avoid this method if possible.

Applies to