Click or drag to resize

NetworkTargetOnOverflow Property

Gets or sets the action that should be taken if the message is larger than MaxMessageSize

Namespace:  NLog.Targets
Assembly:  NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntax
public NetworkTargetOverflowAction OnOverflow { get; set; }

Property Value

Type: NetworkTargetOverflowAction
Remarks
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