CacheEntryExtensions.SetOptions(ICacheEntry, MemoryCacheEntryOptions) Metodo

Definizione

Applica i valori di un oggetto MemoryCacheEntryOptions esistente alla voce.Applies the values of an existing MemoryCacheEntryOptions to the entry.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ SetOptions(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ options);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetOptions (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options);
static member SetOptions : Microsoft.Extensions.Caching.Memory.ICacheEntry * Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function SetOptions (entry As ICacheEntry, options As MemoryCacheEntryOptions) As ICacheEntry

Parametri

entry
ICacheEntry

Oggetto ICacheEntry.The ICacheEntry.

options
MemoryCacheEntryOptions

Imposta i valori di queste opzioni in entry.Set the values of these options on the entry.

Restituisce

Oggetto ICacheEntry per il concatenamento.The ICacheEntry for chaining.

Si applica a