RedisCache.Set(String, Byte[], DistributedCacheEntryOptions) 메서드

정의

지정된 키를 가진 값을 설정합니다.

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

값에 대한 캐시 옵션입니다.

구현

적용 대상