[This is preliminary documentation and is subject to change.]

Closes the target and releases any unmanaged resources.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 2.0.1.0

Syntax

C#
protected virtual void CloseTarget()
Visual Basic (Declaration)
Protected Overridable Sub CloseTarget
Visual Basic (Usage)
Me.CloseTarget()

See Also