BufferingAppenderSkeleton OnClose Method | Apache log4net™ SDK Documentation

Close this appender instance.

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

C#
VB
C++
F#
Copy

    protected override void OnClose()

    Protected Overrides Sub OnClose

    protected:
    virtual void OnClose() override

    abstract OnClose : unit -> unit
    override OnClose : unit -> unit

Remarks

Close this appender instance. If this appender is marked as not Lossy then the remaining events in the buffer must be sent when the appender is closed.

See Also

#### Reference

BufferingAppenderSkeleton Class
log4net.Appender Namespace