Implementation of Properties collection for the ThreadContext
Inheritance Hierarchy
log4net.UtilContextPropertiesBase
log4net.UtilThreadContextProperties
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The ThreadContextProperties type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Item |
Gets or sets the value of a property
(Overrides ContextPropertiesBaseItemString.) |
Methods
| Name | Description | |
|---|---|---|
| Clear |
Clear all properties
| |
| Equals | (Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetKeys |
Get the keys stored in the properties.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Remove |
Remove a property
| |
| ToString | (Inherited from Object.) |
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.
See Also