blob: c0ae7d769e9e410756a784c5e892121bb9a84c0e [file] [log] [blame]
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>AppenderSkeleton.Close Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">AppenderSkeleton.Close�Method�</h1>
</div>
</div>
<div id="nstext">
<p> Closes the appender and release resources. </p>
<div class="syntax">
<span class="lang">[Visual�Basic]</span>
<br />NotOverridable�Public�Sub�Close()�_<div>����Implements�<a href="log4net.Appender.IAppender.Close.html">IAppender.Close</a></div></div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a>�Close();</div>
<h4 class="dtH4">Implements</h4>
<p>
<a href="log4net.Appender.IAppender.Close.html">IAppender.Close</a>
</p>
<h4 class="dtH4">Remarks</h4>
<p> Release any resources allocated within the appender such as file handles, network connections, etc. </p>
<p> It is a programming error to append to a closed appender. </p>
<p> This method cannot be overridden by subclasses. This method delegates the closing of the appender to the <a href="log4net.Appender.AppenderSkeleton.OnClose.html">OnClose</a> method which must be overridden in the subclass. </p>
<h4 class="dtH4">See Also</h4><p><a href="log4net.Appender.AppenderSkeleton.html">AppenderSkeleton Class</a> | <a href="log4net.Appender.html">log4net.Appender Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="Close method"></param><param name="Keyword" value="Close method, AppenderSkeleton class"></param><param name="Keyword" value="AppenderSkeleton.Close method"></param></object><hr /><div id="footer"><a href='http://logging.apache.org/log4net/'>Copyright 2004-2013 The Apache Software Foundation.</a><br></br>Apache log4net, Apache and log4net are trademarks of The Apache Software Foundation.</div></div>
</body>
</html>