Context.GetData(LocalDataStoreSlot) Context.GetData(LocalDataStoreSlot) Context.GetData(LocalDataStoreSlot) Context.GetData(LocalDataStoreSlot) Method

定义

从当前上下文上的指定槽检索值。Retrieves the value from the specified slot on the current context.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static System::Object ^ GetData(LocalDataStoreSlot ^ slot);
[System.Security.SecurityCritical]
public static object GetData (LocalDataStoreSlot slot);
static member GetData : LocalDataStoreSlot -> obj
Public Shared Function GetData (slot As LocalDataStoreSlot) As Object

参数

slot
LocalDataStoreSlot LocalDataStoreSlot LocalDataStoreSlot LocalDataStoreSlot

包含数据的数据槽。The data slot that contains the data.

返回

slot 关联的数据。The data associated with slot.

适用于