log4net.UtilContextPropertiesBase
log4net.UtilLogicalThreadContextProperties
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
The LogicalThreadContextProperties type exposes the following members.
Name | Description | |
---|---|---|
Item |
Gets or sets the value of a property
(Overrides ContextPropertiesBaseItemString.) |
Name | Description | |
---|---|---|
Clear |
Clear all the context properties
| |
Equals | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Remove |
Remove a property
| |
ToString | (Inherited from Object.) |
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.