LoggingEvent ExceptionObject Property Apache log4net™ SDK Documentation
Gets the exception object used to initialize this event.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public Exception ExceptionObject { get; }

Property Value

Type: OnlineException
The exception object used to initialize this event.
Remarks

Gets the exception object used to initialize this event. Note that this event may not have a valid exception object. If the event is serialized the exception object will not be transferred. To get the text of the exception the GetExceptionString  method must be used not this property.

If there is no defined exception object for this event then null will be returned.

See Also