ILayout IgnoresException Property | Apache log4net™ SDK Documentation

Flag indicating if this layout handle exceptions

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    bool IgnoresException { get; }

    ReadOnly Property IgnoresException As Boolean
    	Get

    property bool IgnoresException {
    	bool get ();
    }

    abstract IgnoresException : bool with get

#### Property Value

Type: Boolean
false if this layout handles exceptions
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.

See Also

#### Reference

ILayout Interface
log4net.Layout Namespace