| NetworkTargetOnOverflow Property |
Gets or sets the action that should be taken if the message is larger than
MaxMessageSize
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public NetworkTargetOverflowAction OnOverflow { get; set; }
Public Property OnOverflow As NetworkTargetOverflowAction
Get
Set
Dim instance As NetworkTarget
Dim value As NetworkTargetOverflowAction
value = instance.OnOverflow
instance.OnOverflow = value
member OnOverflow : NetworkTargetOverflowAction with get, set
Property Value
Type:
NetworkTargetOverflowActionRemarks
For TCP sockets then
Split means no-limit, as TCP sockets
performs splitting automatically.
For UDP Network sender then
Split means splitting the message
into smaller chunks. This can be useful on networks using DontFragment, which drops network packages
larger than MTU-size (1472 bytes).
See Also