MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anger storleken på cachens inmatningsvärde.
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
Parametrar
- options
- MemoryCacheEntryOptions
Alternativen för att ange inmatningsstorleken på.
- size
- Int64
Storleken som ska anges på MemoryCacheEntryOptions.
Returer
Så MemoryCacheEntryOptions att ytterligare anrop kan länkas.