Click or drag to resize

NetworkTarget Properties

The NetworkTarget type exposes the following members.

Properties
  NameDescription
Public propertyAddress
Gets or sets the network address.
Public propertyCompress
Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
Public propertyCompressMinBytes
Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers
Public propertyConnectionCacheSize
Gets or sets the size of the connection cache (number of connections which are kept alive). Requires KeepConnection = true
Public propertyEncoding
Gets or sets the encoding to be used.
Protected propertyIsInitialized
Gets a value indicating whether the target has been initialized.
(Inherited from Target.)
Public propertyKeepAliveTimeSeconds
The number of seconds a connection will remain idle before the first keep-alive probe is sent
Public propertyKeepConnection
Gets or sets a value indicating whether to keep connection open whenever possible.
Public propertyLayout
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.)
Public propertyLineEnding
Gets or sets the end of line value if a newline is appended at the end of log message NewLine.
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from Target.)
Public propertyMaxConnections
Gets or sets the maximum simultaneous connections. Requires KeepConnection = false
Public propertyMaxMessageSize
Gets or sets the maximum message size in bytes. On limit breach then OnOverflow action is activated.
Public propertyMaxQueueSize
Gets or sets the maximum queue size for a single connection. Requires KeepConnection = true
Public propertyName
Gets or sets the name of the target.
(Inherited from Target.)
Public propertyNewLine
Gets or sets a value indicating whether to append newline at the end of log message.
Public propertyOnConnectionOverflow
Gets or sets the action that should be taken, when more connections than MaxConnections.
Public propertyOnOverflow
Gets or sets the action that should be taken if the message is larger than MaxMessageSize
Public propertyOnQueueOverflow
Gets or sets the action that should be taken, when more pending messages than MaxQueueSize.
Public propertySendTimeoutSeconds
The number of seconds a TCP socket send-operation will block before timeout error. Default wait forever when network cable unplugged and tcp-buffer becomes full.
Public propertySslProtocols
Gets or sets the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.
Protected propertySyncRoot
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.)
Top
See Also