Gets or sets the TCP port number of the remote host or multicast group to which the underlying UdpClient should sent the logging event.
An integer value in the range MinPort to MaxPort indicating the TCP port number of the remote host or multicast group to which the logging event will be sent.
The underlying UdpClient will send messages to this TCP port number on the remote host or multicast group.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | The value specified is less than MinPort or greater than MaxPort. |
UdpAppender Class | log4net.Appender Namespace