March 2002
Intermediate to advanced
864 pages
31h 8m
English
LocalDataStoreSlot
The CLR allocates a multislot local data store to each
process when it starts. These slots are used for thread-specific
and context-specific data, and are not shared between threads or
contexts. The LocalDataStoreSlot class
encapsulates one of these slots. It’s used by the
GetData() and
SetData()
methods in the System.Threading.Thread and by
System.Runtime.Remoting.Contexts.Context classes.
public sealed class LocalDataStoreSlot { // Protected Instance Methods protected override method void Finalize(); // overrides object }
System.Threading.Thread.{AllocateDataSlot(), AllocateNamedDataSlot(), GetNamedDataSlot()}
System.Threading.Thread.{GetData(), SetData()}