Context.GetData Method (LocalDataStoreSlot)

 
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.

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

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

[<SecurityCriticalAttribute>]
static member GetData : 
        slot:LocalDataStoreSlot -> Object

Parameters

slot
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
Show: