PipeStream.Flush Method ()
.NET Framework (current version)
Clears the buffer for the current stream and causes any buffered data to be written to the underlying device.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| ObjectDisposedException | The pipe is closed. |
| NotSupportedException | The pipe does not support write operations. |
| IOException | The pipe is broken or another I/O error occurred. |
The Flush method is not supported in the PipeStream class and does nothing when it is called.
.NET Framework
Available since 3.5
Available since 3.5
Show: