Context.GetData Method (LocalDataStoreSlot)


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)

Public Shared Function GetData (
	slot As LocalDataStoreSlot
) As 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