 | BufferingTargetWrapperSlidingTimeout Property |
Gets or sets a value indicating whether to use sliding timeout.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxpublic bool SlidingTimeout { get; set; }
Public Property SlidingTimeout As Boolean
Get
Set
Dim instance As BufferingTargetWrapper
Dim value As Boolean
value = instance.SlidingTimeout
instance.SlidingTimeout = value
member SlidingTimeout : bool with get, set
Property Value
Type:
Boolean
Remarks
This value determines how the inactivity period is determined. If sliding timeout is enabled,
the inactivity timer is reset after each write, if it is disabled - inactivity timer will
count from the first event written to the buffer.
See Also