Context.AllocateNamedDataSlot(String) Método

Definição

Aloca um slot de dados nomeado.Allocates a named data slot.

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.The required name for the data slot.

Retornos

LocalDataStoreSlot

Um objeto do slot de dados locais.A local data slot object.

Atributos

Comentários

O slot é alocado em todos os contextos.The slot is allocated on all the contexts. Os slots de dados nomeados são públicos e podem ser manipulados por qualquer pessoa.Named data slots are public and can be manipulated by anyone.

Aplica-se a