log4net SDK Reference |

# EventLogAppender Constructor (ILayout)

NOTE: This constructor is now obsolete.

Instead use the default constructor and set the Layout property

Initializes a new instance of the EventLogAppender class with the specified ILayout.

[Visual Basic]
Overloads Public Sub New( _
ByVal layout As ILayout _
)
[C#]
public EventLogAppender(
ILayout layout
);

#### Parameters

layout
  The ILayout to use with this appender.

#### Remarks

Obsolete constructor.

#### See Also

EventLogAppender Class | log4net.Appender Namespace | EventLogAppender Constructor Overload List