log4net SDK Reference |

# LoggingEvent.FixVolatileData Method ()

NOTE: This method is now obsolete.

Use Fix property

Fix instance fields that hold volatile data.

[Visual Basic]
Overloads Public Sub FixVolatileData()
[C#]
public void FixVolatileData();

#### Remarks

Some of the values in instances of LoggingEvent are considered volatile, that is the values are correct at the time the event is delivered to appenders, but will not be consistent at any time afterwards. If an event is to be stored and then processed at a later time these volatile values must be fixed by calling FixVolatileData. There is a performance penalty incurred by calling FixVolatileData but it is essential to maintaining data consistency.

Calling FixVolatileData is equivalent to calling FixVolatileData passing the parameter `false`.

See FixVolatileData for more information.

#### See Also

LoggingEvent Class | log4net.Core Namespace | LoggingEvent.FixVolatileData Overload List