Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LogicalThreadContextProperties Class

Implementation of Properties collection for the LogicalThreadContext

For a list of all members of this type, see LogicalThreadContextProperties Members.


public�sealed�class�LogicalThreadContextProperties : ContextPropertiesBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Class implements a collection of properties that is specific to each thread. The class is not synchronized as each thread has its own PropertiesDictionary.

This class stores its properties in a slot on the CallContext named log4net.Util.LogicalThreadContextProperties.

The CallContext requires a link time SecurityPermission for the Infrastructure. If the calling code does not have this permission then this context will be disabled. It will not store any property values set on it.


Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

LogicalThreadContextProperties Members | log4net.Util Namespace