MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) Méthode

Définition

Définit la taille de la valeur d’entrée de cache.

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

Paramètres

options
MemoryCacheEntryOptions

Options pour lesquelles définir la taille d’entrée.

size
Int64

Taille à définir pour MemoryCacheEntryOptions.

Retours

MemoryCacheEntryOptions à utiliser pour chaîner des appels supplémentaires.

S’applique à