SeekableStreamFlushAsync(CancellationToken) - метод

Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
public override Task FlushAsync(
	CancellationToken cancellationToken
)

Параметры

cancellationToken  CancellationToken
The token to monitor for cancellation requests. The default value is None.

Возвращаемое значение

Task
A task that represents the asynchronous flush operation.

Исключения

ObjectDisposedExceptionThe stream has been disposed.

См. также