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 (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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