Context.GetData Method (LocalDataStoreSlot)


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.

Retrieves the value from the specified slot on the current context.

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

static member GetData : 
        slot:LocalDataStoreSlot -> Object


Type: System.LocalDataStoreSlot

The data slot that contains the data.

Return Value

Type: System.Object

Returns the data associated with slot.

.NET Framework
Available since 1.1
Return to top