Compartir a través de


CacheEntryExtensions.SetOptions(ICacheEntry, MemoryCacheEntryOptions) Método

Definición

Aplica los valores de un objeto MemoryCacheEntryOptions existente a la entrada.

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

Parámetros

options
MemoryCacheEntryOptions

Establece los valores de estas opciones en la instancia de entry.

Devoluciones

La interfaz ICacheEntry para el encadenamiento.

Se aplica a