Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AppenderSkeleton.PreAppendCheck�Method�

Called before Append as a precondition.

[Visual�Basic]
Overridable�Protected�Function�PreAppendCheck()�As�Boolean
[C#]
protected�virtual�bool�PreAppendCheck();

Return Value

true if the call to Append should proceed.

Remarks

This method is called by DoAppend before the call to the abstract Append method.

This method can be overridden in a subclass to extend the checks made before the event is passed to the Append method.

A subclass should ensure that they delegate this call to this base class if it is overridden.

See Also

AppenderSkeleton Class | log4net.Appender Namespace