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.

System.Object
���log4net.Util.ContextPropertiesBase
������log4net.Util.LogicalThreadContextProperties

[Visual�Basic]
NotInheritable�Public�Class�LogicalThreadContextProperties
����Inherits�ContextPropertiesBase
[C#]
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.

Remarks

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.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

LogicalThreadContextProperties Members | log4net.Util Namespace