 | LimitingTargetWrapperMessageLimit Property |
Gets or sets the maximum allowed number of messages written per
Interval.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic Layout<int> MessageLimit { get; set; }
Public Property MessageLimit As Layout(Of Integer)
Get
Set
Dim instance As LimitingTargetWrapper
Dim value As Layout(Of Integer)
value = instance.MessageLimit
instance.MessageLimit = value
member MessageLimit : Layout<int> with get, set
Property Value
Type:
LayoutInt32
RemarksDefault:
1000 . Messages received after
MessageLimit has been reached in the current
Interval will be discarded.
See Also