 | NetworkTargetConnectionsOverflowAction Enumeration |
The action to be taken when there are more connections then the max.
Namespace:
NLog.Targets
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic enum NetworkTargetConnectionsOverflowAction
Public Enumeration NetworkTargetConnectionsOverflowAction
Dim instance As NetworkTargetConnectionsOverflowAction
type NetworkTargetConnectionsOverflowAction
Members
| Member name | Value | Description |
---|
| Grow | 0 |
Allow new connections when reaching max connection limit
|
| Discard | 1 |
Discard new messages when reaching max connection limit
|
| Block | 2 |
Block until there's more room in the queue.
|
See Also