Context.GetData(LocalDataStoreSlot) Methode

Definition

Ruft den Wert aus dem angegebenen Steckplatz im aktuellen Kontext ab.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

slot
LocalDataStoreSlot

Der Datenplatz, der die Daten enthält.

Gibt zurück

Die mit slot.

Attribute

Gilt für: