C # in a Nutshell, Second Edition

LocalDataStoreSlot CF 1.0

System (mscorlib.dll) sealed class

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 System.Runtime.Remoting.Contexts.Context classes.

public sealed class LocalDataStoreSlot { // Protected Instance Methods protected override void Finalize ( ); // overrides object }

Returned By

System.Threading.Thread.{AllocateDataSlot( ) , AllocateNamedDataSlot( ) , GetNamedDataSlot( )}

Passed To

System.Threading.Thread.{GetData( ) , SetData( )}

Категории