IDistributedCache.Set(String, Byte[], DistributedCacheEntryOptions) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Verilen anahtarla bir değer ayarlar.
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)
Parametreler
- key
- String
İstenen değeri tanımlayan bir dize.
- value
- Byte[]
Önbellekte ayarlanacağı değer.
- options
- DistributedCacheEntryOptions
Değerin önbellek seçenekleri.