Context.AllocateNamedDataSlot(String) Método

Definição

Aloca um slot de dados nomeado.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

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

Parâmetros

name
String

O nome necessário para o slot de dados.

Retornos

LocalDataStoreSlot

Um objeto do slot de dados locais.

Atributos

Comentários

O slot é alocado em todos os contextos. Os slots de dados nomeados são públicos e podem ser manipulados por qualquer pessoa.

Aplica-se a