Context.AllocateDataSlot Method ()


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

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

Allocates an unnamed data slot.

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

static member AllocateDataSlot : unit -> LocalDataStoreSlot

Return Value

Type: System.LocalDataStoreSlot

A local data slot.

The slot is allocated on all the contexts.

.NET Framework
Available since 1.1
Return to top