blob: 5bb411bf1377d71efb043eb3fca95debffb5b29d [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>XmlLayoutBase Constructor (Boolean)</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">XmlLayoutBase�Constructor�(Boolean)</h1>
</div>
</div>
<div id="nstext">
<p> Protected constructor to support subclasses </p>
<div class="syntax">
<span class="lang">[Visual�Basic]</span>
<br />Overloads�Protected�Sub�New( _<br />���ByVal <i>locationInfo</i>�As�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a>�_<br />)</div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />protected�XmlLayoutBase(<br />���<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a><i>locationInfo</i><br />);</div>
<h4 class="dtH4">Remarks</h4>
<p> The <i>locationInfo</i> parameter determines whether location information will be output by the layout. If <i>locationInfo</i> is set to <code>true</code>, then the file name and line number of the statement at the origin of the log statement will be output. </p>
<p> If you are embedding this layout within an SMTPAppender then make sure to set the <b>LocationInfo</b> option of that appender as well. </p>
<h4 class="dtH4">See Also</h4><p><a href="log4net.Layout.XmlLayoutBase.html">XmlLayoutBase Class</a> | <a href="log4net.Layout.html">log4net.Layout Namespace</a> | <a href="log4net.Layout.XmlLayoutBaseConstructor.html">XmlLayoutBase Constructor Overload List</a></p><hr /><div id="footer"><a href='http://logging.apache.org/log4net/'>Copyright 2004-2011 The Apache Software Foundation.</a><br></br>Apache log4net, Apache and log4net are trademarks of The Apache Software Foundation.</div></div>
</body>
</html>