Dela via


IOutputStream.FlushAsync Method

Definition

Flushes data asynchronously in a sequential stream.

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

Returns

The stream flush operation.

Remarks

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.

Applies to