ObjectCache.GetValues 메서드

정의

캐시 엔트리 집합을 가져옵니다.

오버로드

GetValues(IEnumerable<String>, String)

파생 클래스에서 재정의된 경우 지정된 키와 일치하는 캐시 엔트리 집합을 가져옵니다.

GetValues(String, String[])

지정된 키에 해당하는 캐시 엔트리 집합을 가져옵니다.

GetValues(IEnumerable<String>, String)

Source:
ObjectCache.cs
Source:
ObjectCache.cs
Source:
ObjectCache.cs

파생 클래스에서 재정의된 경우 지정된 키와 일치하는 캐시 엔트리 집합을 가져옵니다.

public abstract System.Collections.Generic.IDictionary<string,object> GetValues (System.Collections.Generic.IEnumerable<string> keys, string regionName = default);
abstract member GetValues : seq<string> * string -> System.Collections.Generic.IDictionary<string, obj>
Public MustOverride Function GetValues (keys As IEnumerable(Of String), Optional regionName As String = Nothing) As IDictionary(Of String, Object)

매개 변수

keys
IEnumerable<String>

가져올 캐시 엔트리의 고유 식별자 컬렉션입니다.

regionName
String

선택 사항입니다. 영역이 구현된 경우 캐시 엔트리가 추가된 캐시의 명명된 영역입니다. 선택적 매개 변수에 대한 기본값은 null입니다.

반환

캐시 엔트리를 나타내는 키/값 쌍의 사전입니다.

설명

GetValues(IEnumerable<String>, String) 메서드 오버 로드는 단일 네트워크 호출 하는 동안 여러 캐시 항목이 캐시에서 가져올 수 있는 분산 된 캐시에 대 한 성능 최적화.

호출자에 게 하나 이상의 키 메서드에 전달할 수 있지만 보장이 없습니다는 모든 키 캐시의 항목을 나타냅니다. 따라서 반환된 된 사전 메서드에 전달 된 키 개수 보다 더 적은 항목을 포함할 수 있습니다.

적용 대상

GetValues(String, String[])

Source:
ObjectCache.cs
Source:
ObjectCache.cs
Source:
ObjectCache.cs

지정된 키에 해당하는 캐시 엔트리 집합을 가져옵니다.

public:
 virtual System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ GetValues(System::String ^ regionName, ... cli::array <System::String ^> ^ keys);
public virtual System.Collections.Generic.IDictionary<string,object> GetValues (string regionName, params string[] keys);
abstract member GetValues : string * string[] -> System.Collections.Generic.IDictionary<string, obj>
override this.GetValues : string * string[] -> System.Collections.Generic.IDictionary<string, obj>
Public Overridable Function GetValues (regionName As String, ParamArray keys As String()) As IDictionary(Of String, Object)

매개 변수

regionName
String

선택 사항입니다. 영역이 구현된 경우 캐시 엔트리가 추가된 캐시의 명명된 영역입니다. 지역은 .NET Framework 4에서 구현되지 않으므로 기본값은 입니다null.

keys
String[]

가져올 캐시 엔트리의 고유 식별자 컬렉션입니다.

반환

캐시 엔트리를 나타내는 키/값 쌍의 사전입니다.

설명

합니다 ObjectCache.GetValues 메서드 오버 로드는 GetValues(IEnumerable<String>, String) 메서드 오버 로드 하지만 C#과 같은 관리 되는 언어에서 지원 되는 선택적 매개 변수 구문을 사용 하 여 명명 된 영역을 전달할 수 있습니다.

때문에이 메서드는 가상 메서드를 ObjectCache 클래스에 전달 하는 기본 구현을 제공 합니다 params 배열는 GetValues(IEnumerable<String>, String) 메서드 오버 로드 합니다.

적용 대상