Context::SetData Method (LocalDataStoreSlot^, Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the data in the specified slot on the current context.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] static void SetData( LocalDataStoreSlot^ slot, Object^ data )
Parameters
- slot
-
Type:
System::LocalDataStoreSlot^
The data slot where the data is to be added.
- data
-
Type:
System::Object^
The data that is to be added.
.NET Framework
Available since 1.1
Available since 1.1
Show: