MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) 메서드

정의

캐시 항목 값의 크기를 설정합니다.

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

매개 변수

options
MemoryCacheEntryOptions

항목 크기를 설정할 옵션입니다.

size
Int64

MemoryCacheEntryOptions에서 설정할 크기입니다.

반환

추가 호출을 연결할 수 있도록 하는 MemoryCacheEntryOptions입니다.

적용 대상