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)

Public Overrides Sub Flush()
This language is not supported or no code example is available.
public override void Flush()
This language is not supported or no code example is available.
public:  
void Flush()
This language is not supported or no code example is available.
public function Flush();
This language is not supported or no code example is available.
Exception type Condition

IOException

An I/O error occurs.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1