System.Runtime.Remoting.Contexts.Context.AllocateNamedDataSlot Method

Allocates a named data slot.

Syntax

public static LocalDataStoreSlot AllocateNamedDataSlot (string name)

Parameters

name
The required name for the data slot.

Returns

A local data slot object.

Remarks

The slot is allocated on all the contexts. 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