DataWriter.FlushAsync Method

Definition

Flushes data asynchronously.

public:
 virtual IAsyncOperation<bool> ^ FlushAsync() = FlushAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> FlushAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> FlushAsync();
function flushAsync()
Public Function FlushAsync () As IAsyncOperation(Of Boolean)

Returns

The stream flush operation.

Implements

Attributes

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

See also