| LimitingTargetWrapper Constructor (Target, Int32, TimeSpan) |
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public LimitingTargetWrapper(
Target wrappedTarget,
int messageLimit,
TimeSpan interval
)
Public Sub New (
wrappedTarget As Target,
messageLimit As Integer,
interval As TimeSpan
)
Dim wrappedTarget As Target
Dim messageLimit As Integer
Dim interval As TimeSpan
Dim instance As New LimitingTargetWrapper(wrappedTarget,
messageLimit, interval)
new :
wrappedTarget : Target *
messageLimit : int *
interval : TimeSpan -> LimitingTargetWrapper
Parameters
- wrappedTarget
- Type: NLog.TargetsTarget
The wrapped target. - messageLimit
- Type: SystemInt32
Maximum number of messages written per interval. - interval
- Type: SystemTimeSpan
Interval in which the maximum number of messages can be written.
See Also