System.Runtime.Remoting.Contexts.Context.GetNamedDataSlot Method

Looks up a named data slot.

Syntax

public static LocalDataStoreSlot GetNamedDataSlot (string name)

Parameters

name
The data slot name.

Returns

Returns a local data slot.

Remarks

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

Requirements

Namespace: System.Runtime.Remoting.Contexts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0