Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AppenderSkeleton.OnClose�Method�

Is called when the appender is closed. Derived classes should override this method if resources need to be released.

[Visual�Basic]
Overridable�Protected�Sub�OnClose()
[C#]
protected�virtual�void�OnClose();

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

AppenderSkeleton Class | log4net.Appender Namespace