Edit

Share via


StringWriter.FlushAsync Method

Definition

Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.

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

Returns

A task that represents the asynchronous flush operation.

Attributes

Applies to