 | FileTargetOpenFileCacheTimeout Property |
Gets or sets the maximum number of seconds that files are kept open. Zero or negative means disabled.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic int OpenFileCacheTimeout { get; set; }
Public Property OpenFileCacheTimeout As Integer
Get
Set
Dim instance As FileTarget
Dim value As Integer
value = instance.OpenFileCacheTimeout
instance.OpenFileCacheTimeout = value
member OpenFileCacheTimeout : int with get, set
Property Value
Type:
Int32
RemarksDefault: 0
See Also