StreamWriter.FlushAsync StreamWriter.FlushAsync StreamWriter.FlushAsync StreamWriter.FlushAsync Method

Definition

Clears all buffers for this stream asynchronously and causes any buffered data to be written to the underlying device.

public:
 override System::Threading::Tasks::Task ^ FlushAsync();
[System.Runtime.InteropServices.ComVisible(false)]
public override System.Threading.Tasks.Task FlushAsync ();
override this.FlushAsync : unit -> System.Threading.Tasks.Task
Public Overrides Function FlushAsync () As Task

Returns

A task that represents the asynchronous flush operation.

Exceptions

Applies to