MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) 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.
Önbellek giriş değerinin boyutunu ayarlar.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ SetSize(Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ options, long size);
public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions SetSize(this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, long size);
static member SetSize : Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions * int64 -> Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions
<Extension()>
Public Function SetSize (options As MemoryCacheEntryOptions, size As Long) As MemoryCacheEntryOptions
Parametreler
- options
- MemoryCacheEntryOptions
Giriş boyutunun ayarlanacağı seçenekler.
- size
- Int64
üzerinde MemoryCacheEntryOptionsayarlanacağı boyut.
Döndürülenler
MemoryCacheEntryOptions ek çağrıların zincirlenebilmesi için.