| <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>EventLogAppender Properties</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">EventLogAppender�Properties</h1> |
| </div> |
| </div> |
| <div id="nstext"> |
| <p>The properties of the <b>EventLogAppender</b> class are listed below. For a complete list of <b>EventLogAppender</b> class members, see the <a href="log4net.Appender.EventLogAppenderMembers.html">EventLogAppender Members</a> topic.</p> |
| <h4 class="dtH4">Public Instance Properties</h4> |
| <div class="tablediv"> |
| <table class="dtTABLE" cellspacing="0"> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.EventLogAppender.ApplicationName.html">ApplicationName</a></td><td width="50%"> Property used to set the Application name. This appears in the event logs when logging. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.EventLogAppender.Category.html">Category</a></td><td width="50%"> Gets or sets the <code>Category</code> to use unless one is explicitly specified via the <code>LoggingEvent</code>'s properties. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.AppenderSkeleton.ErrorHandler.html">ErrorHandler</a> (inherited from <b>AppenderSkeleton</b>)</td><td width="50%"> Gets or sets the <a href="log4net.Core.IErrorHandler.html">IErrorHandler</a> for this appender. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.EventLogAppender.EventId.html">EventId</a></td><td width="50%"> Gets or sets the <code>EventId</code> to use unless one is explicitly specified via the <code>LoggingEvent</code>'s properties. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.AppenderSkeleton.FilterHead.html">FilterHead</a> (inherited from <b>AppenderSkeleton</b>)</td><td width="50%"> The filter chain. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.AppenderSkeleton.Layout.html">Layout</a> (inherited from <b>AppenderSkeleton</b>)</td><td width="50%"> Gets or sets the <a href="log4net.Layout.ILayout.html">ILayout</a> for this appender. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.EventLogAppender.LogName.html">LogName</a></td><td width="50%"> The name of the log where messages will be stored. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.EventLogAppender.MachineName.html">MachineName</a></td><td width="50%"> This property is used to return the name of the computer to use when accessing the event logs. Currently, this is the current computer, denoted by a dot "." </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.AppenderSkeleton.Name.html">Name</a> (inherited from <b>AppenderSkeleton</b>)</td><td width="50%"> Gets or sets the name of this appender. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.EventLogAppender.SecurityContext.html">SecurityContext</a></td><td width="50%"> Gets or sets the <b>SecurityContext</b> used to write to the EventLog. </td></tr> |
| <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="log4net.Appender.AppenderSkeleton.Threshold.html">Threshold</a> (inherited from <b>AppenderSkeleton</b>)</td><td width="50%"> Gets or sets the threshold <a href="log4net.Core.Level.html">Level</a> of this appender. </td></tr></table> |
| </div> |
| <h4 class="dtH4">Protected Instance Properties</h4> |
| <div class="tablediv"> |
| <table class="dtTABLE" cellspacing="0"> |
| <tr VALIGN="top"><td width="50%"><img src="protproperty.gif"></img><a href="log4net.Appender.EventLogAppender.RequiresLayout.html">RequiresLayout</a></td><td width="50%"> This appender requires a <a href="log4net.Layout.html">log4net.Layout</a> to be set. </td></tr></table> |
| </div> |
| <h4 class="dtH4">See Also</h4> |
| <p> |
| <a href="log4net.Appender.EventLogAppender.html">EventLogAppender 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="EventLogAppender class, properties"> |
| </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> |