| BufferingTargetWrapper Constructor (Target, Int32, Int32, BufferingTargetWrapperOverflowAction) |
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public BufferingTargetWrapper(
Target wrappedTarget,
int bufferSize,
int flushTimeout,
BufferingTargetWrapperOverflowAction overflowAction
)
Public Sub New (
wrappedTarget As Target,
bufferSize As Integer,
flushTimeout As Integer,
overflowAction As BufferingTargetWrapperOverflowAction
)
Dim wrappedTarget As Target
Dim bufferSize As Integer
Dim flushTimeout As Integer
Dim overflowAction As BufferingTargetWrapperOverflowAction
Dim instance As New BufferingTargetWrapper(wrappedTarget,
bufferSize, flushTimeout, overflowAction)
new :
wrappedTarget : Target *
bufferSize : int *
flushTimeout : int *
overflowAction : BufferingTargetWrapperOverflowAction -> BufferingTargetWrapper
Parameters
- wrappedTarget
- Type: NLog.TargetsTarget
The wrapped target. - bufferSize
- Type: SystemInt32
Size of the buffer. - flushTimeout
- Type: SystemInt32
The flush timeout. - overflowAction
- Type: NLog.Targets.WrappersBufferingTargetWrapperOverflowAction
The action to take when the buffer overflows.
See Also