Context::AllocateNamedDataSlot Method (String^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Allocates a named data slot.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] static LocalDataStoreSlot^ AllocateNamedDataSlot( String^ name )
Parameters
- name
-
Type:
System::String^
The required name for the data slot.
The slot is allocated on all the contexts. Named data slots are public and can be manipulated by anyone.
.NET Framework
Available since 1.1
Available since 1.1
Show: