Context.AllocateDataSlot Method ()

 
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.

Allocates an unnamed data slot.

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

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