ThreadContextProperties ClassApache log4net™ SDK Documentation
Implementation of Properties collection for the ThreadContext
Inheritance Hierarchy

SystemObject
  log4net.UtilContextPropertiesBase
    log4net.UtilThreadContextProperties

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public sealed class ThreadContextProperties : ContextPropertiesBase

The ThreadContextProperties type exposes the following members.

Properties

  NameDescription
Public propertyItem
Gets or sets the value of a property
(Overrides ContextPropertiesBaseItemString.)
Top
Methods

  NameDescription
Public methodClear
Clear all properties
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKeys
Get the keys stored in the properties.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Remove a property
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
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

Reference