Click or drag to resize

CachedFileStreamFlush(Boolean) Method

Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+cb466f216da12fb731bf5493e0294c87f9de1794
Syntax
public void Flush(
	bool flushToDisk
)
View Source

Parameters

flushToDisk  Boolean
true to flush all intermediate file buffers; otherwise, false.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
See Also