ChainedStreamFlush Method

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

Definition

Namespace: MimeKit.IO
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public override void Flush()

Remarks

If all the child streams support writing, then the current child stream will be flushed.

Exceptions

ObjectDisposedException The stream has been disposed.
NotSupportedException The stream does not support writing.
IOException An I/O error occurred.

See Also