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.276-beta+3dd4b43be3e31323696af3ab6b14b705e6420d69
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