ProxyStreamFlushAsync(CancellationToken) - метод |
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
Пространство имён:
Tessa.Platform.IO
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public override Task FlushAsync(
CancellationToken cancellationToken
)
Public Overrides Function FlushAsync (
cancellationToken As CancellationToken
) As Task
public:
virtual Task^ FlushAsync(
CancellationToken cancellationToken
) override
abstract FlushAsync :
cancellationToken : CancellationToken -> Task
override FlushAsync :
cancellationToken : CancellationToken -> Task
Параметры
- cancellationToken
- Тип: System.ThreadingCancellationToken
The token to monitor for cancellation requests. The default value is None.
Возвращаемое значение
Тип:
TaskA task that represents the asynchronous flush operation.
Исключения См. также