Skip to main content
FileRandomAccessStream.FlushAsync | flushAsync method

Applies to Windows and Windows Phone

Flushes data asynchronously in a sequential stream.

Syntax


fileRandomAccessStream.flushAsync().done( /* Your success and error handlers */ );

public IAsyncOperation<bool> FlushAsync()

Public Function FlushAsync() As IAsyncOperation(Of Boolean)

public:
IAsyncOperation<bool>^ FlushAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<Boolean>

The stream flush operation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

FileRandomAccessStream