ThreadLocal(T) Constructor

ThreadLocal<T> Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ThreadLocal<T>() Initializes the ThreadLocal<T> instance.
Public method ThreadLocal<T>(Boolean) Initializes the ThreadLocal<T> instance.
Public method ThreadLocal<T>(Func<T>) Initializes the ThreadLocal<T> instance with the specified valueFactory function.
Public method ThreadLocal<T>(Func<T>, Boolean) Initializes the ThreadLocal<T> instance with the specified valueFactory function.
Top

Show:
© 2017 Microsoft