MemoryDistributedCache.Set 메서드

정의

바이트 배열의 키 IMemoryCache 와 연결된 지정된 항목을 설정합니다.

public:
 virtual void Set(System::String ^ key, cli::array <System::Byte> ^ value, Microsoft::Extensions::Caching::Distributed::DistributedCacheEntryOptions ^ options);
public void Set(string key, byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options);
abstract member Set : string * byte[] * Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions -> unit
override this.Set : string * byte[] * Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions -> unit
Public Sub Set (key As String, value As Byte(), options As DistributedCacheEntryOptions)

매개 변수

key
String

설정할 항목의 키입니다.

value
Byte[]

설정할 항목의 바이트 배열 값입니다.

options
DistributedCacheEntryOptions

설정할 항목에 대한 캐시 옵션입니다.

구현

적용 대상