 | BufferingTargetWrapperSlidingTimeout Property |
Gets or sets a value indicating whether to use sliding timeout.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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