LoggingEventGetObjectData Method Apache log4net™ SDK Documentation
Serializes this object into the SerializationInfo provided.

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

public virtual void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.SerializationStreamingContext
The destination for this serialization.

Implements

ISerializableGetObjectData(SerializationInfo, StreamingContext)
Remarks

The data in this event must be fixed before it can be serialized.

The [M:FixVolatileData()] method must be called during the DoAppend(LoggingEvent) method call if this event is to be used outside that method.

See Also

Reference