Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LayoutSkeleton.IgnoresException Property

Flag indicating if this layout handles exceptions

[Visual�Basic]
Overridable�Public�Property�IgnoresException�As�Boolean�_
����Implements�ILayout.IgnoresException
[C#]
public�virtual�bool�IgnoresException�{get;�set;}

Property Value

false if this layout handles exceptions

Implements

ILayout.IgnoresException

Remarks

If this layout handles the exception object contained within LoggingEvent, then the layout should return false. Otherwise, if the layout ignores the exception object, then the layout should return true.

Set this value to override a this default setting. The default value is true, this layout does not handle the exception.

See Also

LayoutSkeleton Class | log4net.Layout Namespace