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.286-beta+af3877f0fd6bd9f0ab0bb09de528343468ffe7d4
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