Context.GetNamedDataSlot Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

[SecurityCriticalAttribute]
public 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: