Context.GetData(LocalDataStoreSlot) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the value from the specified slot on the current context.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
Parameters
- slot
- LocalDataStoreSlot
The data slot that contains the data.
Returns
The data associated with slot
.
- Attributes
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor