Gets or sets the value of this instance for the current thread.
Assemblies: System.Threading (in System.Threading.dll)
mscorlib (in mscorlib.dll)
If this instance was not previously initialized for the current thread, accessing will attempt to initialize it. If an initialization function was supplied during the construction, that initialization will happen by invoking the function to retrieve the initial value for . Otherwise, the default value of will be used. If an exception is thrown, that exception is cached and thrown on each subsequent access of the property.