Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.SecurityContext Property

Gets or sets the SecurityContext used to write to the EventLog.

[Visual�Basic]
Public�Property�SecurityContext�As�SecurityContext
[C#]
public�log4net.Core.SecurityContext�SecurityContext�{get;�set;}

Property Value

The SecurityContext used to write to the EventLog.

Remarks

The system security context used to write to the EventLog.

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

EventLogAppender Class | log4net.Appender Namespace