blob: 606b6d004378b6b04755316a188caf092e72aedd [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>Base64EncodeMessage Property</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">XmlLayout.Base64EncodeMessage Property</h1>
</div>
</div>
<div id="nstext">
<p> Set whether or not to base64 encode the message. </p>
<div class="syntax">
<span class="lang">[Visual�Basic]</span>
<br />Public�Property�Base64EncodeMessage�As�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a></div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a>�Base64EncodeMessage�{get;�set;}</div>
<p>
</p>
<h4 class="dtH4">Remarks</h4>
<p> By default the log message will be written as text to the xml output. This can cause problems when the message contains binary data. By setting this to true the contents of the message will be base64 encoded. If this is set then invalid character replacement (see <a href="log4net.Layout.XmlLayoutBase.InvalidCharReplacement.html">InvalidCharReplacement</a>) will not be performed on the log message. </p>
<h4 class="dtH4">See Also</h4><p><a href="log4net.Layout.XmlLayout.html">XmlLayout Class</a> | <a href="log4net.Layout.html">log4net.Layout Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="Base64EncodeMessage property"></param><param name="Keyword" value="Base64EncodeMessage property, XmlLayout class"></param><param name="Keyword" value="XmlLayout.Base64EncodeMessage property"></param></object><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>