WrapperMap RepositoryShutdown Method | Apache log4net™ SDK Documentation

Called when a monitored repository shutdown event is received.

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

C#
VB
C++
F#
Copy

    protected virtual void RepositoryShutdown(
    	ILoggerRepository repository
    )

    Protected Overridable Sub RepositoryShutdown (
    	repository As ILoggerRepository
    )

    protected:
    virtual void RepositoryShutdown(
    	ILoggerRepository^ repository
    )

    abstract RepositoryShutdown :
            repository : ILoggerRepository -> unit
    override RepositoryShutdown :
            repository : ILoggerRepository -> unit

#### Parameters

repository
  Type: log4net.Repository
  ILoggerRepository
  The ILoggerRepository that is shutting down

Remarks

This method is called when a ILoggerRepository that this WrapperMap is holding loggers for has signaled its shutdown event ShutdownEvent. The default behavior of this method is to release the references to the loggers and their wrappers generated for this repository.

See Also

#### Reference

WrapperMap Class
log4net.Core Namespace