Context.GetData(LocalDataStoreSlot) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從當前上下文中指定的槽位取得該值。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static System::Object ^ GetData(LocalDataStoreSlot ^ slot);
public static object GetData(LocalDataStoreSlot slot);
[System.Security.SecurityCritical]
public static object GetData(LocalDataStoreSlot slot);
static member GetData : LocalDataStoreSlot -> obj
[<System.Security.SecurityCritical>]
static member GetData : LocalDataStoreSlot -> obj
Public Shared Function GetData (slot As LocalDataStoreSlot) As Object
參數
- slot
- LocalDataStoreSlot
就是存放資料的資料槽。
傳回
與 slot相關聯的資料。
- 屬性