Context::GetNamedDataSlot Method (String^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Looks up a named data slot.

Namespace:   System.Runtime.Remoting.Contexts
Assembly:  mscorlib (in mscorlib.dll)

public:
[SecurityCriticalAttribute]
static LocalDataStoreSlot^ GetNamedDataSlot(
	String^ name
)

Parameters

name
Type: System::String^

The data slot name.

Return Value

Type: System::LocalDataStoreSlot^

Returns a local data slot.

If the name has not been used, a new slot is allocated. Named data slots are public and can be manipulated by anyone.

.NET Framework
Available since 1.1
Return to top
Show: