Context.AllocateNamedDataSlot(String) Metoda

Definicja

Przydziela nazwane miejsce danych.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

public:
 static LocalDataStoreSlot ^ AllocateNamedDataSlot(System::String ^ name);
public static LocalDataStoreSlot AllocateNamedDataSlot (string name);
[System.Security.SecurityCritical]
public static LocalDataStoreSlot AllocateNamedDataSlot (string name);
static member AllocateNamedDataSlot : string -> LocalDataStoreSlot
[<System.Security.SecurityCritical>]
static member AllocateNamedDataSlot : string -> LocalDataStoreSlot
Public Shared Function AllocateNamedDataSlot (name As String) As LocalDataStoreSlot

Parametry

name
String

Wymagana nazwa miejsca danych.

Zwraca

Obiekt lokalnego miejsca danych.

Atrybuty

Uwagi

Miejsce jest przydzielane we wszystkich kontekstach. Nazwane miejsca danych są publiczne i mogą być manipulowane przez wszystkich.

Dotyczy