log4net SDK Reference |

# WrapperMap.RepositoryShutdown Method

Called when a monitored repository shutdown event is received.

[Visual Basic]
Overridable Protected Sub RepositoryShutdown( _
ByVal repository As ILoggerRepository _
)
[C#]
protected virtual void RepositoryShutdown(
ILoggerRepository repository
);

#### Parameters

repository
  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

WrapperMap Class | log4net.Core Namespace