MemoryDistributedCache.Set Metodo

Definizione

Imposta l'elemento specificato associato a una chiave nell'oggetto IMemoryCache come matrice di byte.

public:
 virtual void Set(System::String ^ key, cli::array <System::Byte> ^ value, Microsoft::Extensions::Caching::Distributed::DistributedCacheEntryOptions ^ options);
public void Set(string key, byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options);
abstract member Set : string * byte[] * Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions -> unit
override this.Set : string * byte[] * Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions -> unit
Public Sub Set (key As String, value As Byte(), options As DistributedCacheEntryOptions)

Parametri

key
String

Chiave dell'elemento da impostare.

value
Byte[]

Valore della matrice di byte dell'elemento da impostare.

options
DistributedCacheEntryOptions

Opzioni della cache per l'elemento da impostare.

Implementazioni

Si applica a