LoggingEventMessageObject Property Apache log4net™ SDK Documentation
Gets the message object used to initialize this event.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public Object MessageObject { get; }

Property Value

Type: Object
The message object used to initialize this event.
Remarks

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

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

See Also

Reference