Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IOutputStream.FlushAsync Method

Definition

Important

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();
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


Feedback

Was this page helpful?