The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ThreadLocal<T> Constructor
.NET Framework (current version)
Initializes a ThreadLocal<T> instance.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | ThreadLocal<T>() | Initializes the ThreadLocal<T> instance. |
![]() | ThreadLocal<T>(Boolean) | Initializes the ThreadLocal<T> instance and specifies whether all values are accessible from any thread. |
![]() | ThreadLocal<T>(Func<T>^) | Initializes the ThreadLocal<T> instance with the specified valueFactory function. |
![]() | ThreadLocal<T>(Func<T>^, Boolean) | Initializes the ThreadLocal<T> instance with the specified valueFactory function and a flag that indicates whether all values are accessible from any thread. |
Show:
