AppenderSkeleton Close Method | Apache log4net™ SDK Documentation

Closes the appender and release resources.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public void Close()

    Public Sub Close

    public:
    virtual void Close() sealed

    abstract Close : unit -> unit
    override Close : unit -> unit

#### Implements

IAppender
Close
Remarks

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

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

This method cannot be overridden by subclasses. This method delegates the closing of the appender to the OnClose
method which must be overridden in the subclass.

See Also

#### Reference

AppenderSkeleton Class
log4net.Appender Namespace