Share via


DistributedCacheExtensions 클래스

정의

IDistributedCache에서 데이터를 설정하기 위한 확장 메서드입니다.

public ref class DistributedCacheExtensions abstract sealed
public static class DistributedCacheExtensions
type DistributedCacheExtensions = class
Public Module DistributedCacheExtensions
상속
DistributedCacheExtensions

메서드

GetString(IDistributedCache, String)

지정된 키로 지정된 캐시에서 문자열을 가져옵니다.

GetStringAsync(IDistributedCache, String, CancellationToken)

지정된 키로 지정된 캐시에서 문자열을 비동기적으로 가져옵니다.

Set(IDistributedCache, String, Byte[])

지정된 키로 지정된 캐시의 바이트 시퀀스를 설정합니다.

SetAsync(IDistributedCache, String, Byte[], CancellationToken)

지정된 키로 지정된 캐시의 바이트 시퀀스를 비동기적으로 설정합니다.

SetString(IDistributedCache, String, String)

지정된 키로 지정된 캐시에서 문자열을 설정합니다.

SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)

지정된 키로 지정된 캐시에서 문자열을 설정합니다.

SetStringAsync(IDistributedCache, String, String, CancellationToken)

지정된 키로 지정된 캐시에서 문자열을 비동기적으로 설정합니다.

SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken)

지정된 키로 지정된 캐시에서 문자열을 비동기적으로 설정합니다.

적용 대상