| FilteredStreamFlushAsync(CancellationToken) Method |
Asynchronously clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
Namespace: MimeKit.IOAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public override Task FlushAsync(
CancellationToken cancellationToken
)
Parameters
- cancellationToken CancellationToken
- The cancellation token.
Return Value
TaskA task that represents the asynchronous flush operation.
Exceptions Remarks
Flushes the state of all filters, writing any output to the underlying
Source
stream and then calling
Flush on the
Source.
See Also