Click or drag to resize

CachedFileStream.Flush(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.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
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