 | LimitingTargetWrapper Constructor (Target, Int32, TimeSpan) |
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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