AutoFlushEnabled Property

Whether automatic flushing is enabled.

Syntax

public bool AutoFlushEnabled { get; set; }
Public Property AutoFlushEnabled As Boolean

Default Value

True

Remarks

This property specifies whether automatic flushing is enabled. When this property is enabled (default), automatic flushing will take place both according to the FlushPolicy setting, and when cached files are closed (after any delay specified by the FlushAfterCloseDelay property).

If this property is disabled, automatic flushing will never occur, regardless of the FlushPolicy setting; however, the FlushFile method can still be used to explicitly flush a cached file.

Typically, applications should only disable this property in cases where they need to suspend background write operations for some reason (e.g., if connectivity with the external storage is temporarily lost).

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7647]