asp.net.ph

LocalDataStoreSlot Class

System Namespace


Encapsulates a memory slot to store local data. This class cannot be inherited.

LocalDataStoreSlot Class Members

Collapse   Methods

Visibility Name Parameters Return Type
protected Finalize ( ) Void

Remarks

Threads and contexts use a local store memory mechanism to store thread-specific and context-specific data, respectively. The common language runtime allocates a multi-slot data store array to each process when it is created. The thread or context calls various functions to allocate a data slot in the data store, to store and retrieve a data value in the slot, and to free a data slot for reuse after the thread or context object expires.

The data slots are unique per thread or context; their values are not shared between the thread or context objects. Data slots can be allocated by a name or by an index number.

For more information, see Thread or Context.

See Also

Thread   Context Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note