log4net SDK Reference

UdpAppender.OnClose Method 

Closes the UDP connection and releases all resources associated with this UdpAppender instance.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Disables the underlying UdpClient and releases all managed and unmanaged resources associated with the UdpAppender.

See Also

UdpAppender Class | log4net.Appender Namespace