Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.EventId Property

Gets or sets the EventId to use unless one is explicitly specified via the LoggingEvent's properties.

[Visual�Basic]
Public�Property�EventId�As�Integer
[C#]
public�int�EventId�{get;�set;}

Remarks

The EventID of the event log entry will normally be set using the EventID property (Properties) on the LoggingEvent. This property provides the fallback value which defaults to 0.

See Also

EventLogAppender Class | log4net.Appender Namespace