다음을 통해 공유


CacheEntryExtensions.SetOptions(ICacheEntry, MemoryCacheEntryOptions) 메서드

정의

항목에 기존 MemoryCacheEntryOptions의 값을 적용합니다.

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

매개 변수

options
MemoryCacheEntryOptions

entry에서 해당 옵션의 값을 설정합니다.

반환

연결할 ICacheEntry입니다.

적용 대상