Context::SetData Method (LocalDataStoreSlot^, Object^)

 

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.

Namespace:   System.Runtime.Remoting.Contexts
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
Return to top
Show: