MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) Metoda

Definicja

Ustawia rozmiar wartości wpisu pamięci podręcznej.

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

Parametry

options
MemoryCacheEntryOptions

Opcje ustawiania rozmiaru wpisu.

size
Int64

Rozmiar do ustawienia w obiekcie MemoryCacheEntryOptions.

Zwraca

Tak MemoryCacheEntryOptions , aby można było połączyć dodatkowe wywołania.

Dotyczy