When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Namespace:
Contracts
Assembly: Contracts (in Contracts.dll)
Assembly: Contracts (in Contracts.dll)
Exception type | Condition |
---|---|
An I/O error occurs. |