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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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