IDistributedCache.Set(String, Byte[], DistributedCacheEntryOptions) Metodo

Definizione

Imposta un valore con la chiave specificata.

public:
 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
Public Sub Set (key As String, value As Byte(), options As DistributedCacheEntryOptions)

Parametri

key
String

Stringa che identifica il valore richiesto.

value
Byte[]

Valore da impostare nella cache.

options
DistributedCacheEntryOptions

Opzioni della cache per il valore.

Si applica a