MemoryCacheElement.Name 속성

정의

특정 캐시 구성의 이름을 가져오거나 설정합니다.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))]
[System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Name { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))>]
[<System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Name : string with get, set
Public Property Name As String

속성 값

String

캐시 구성의 이름입니다.

특성

설명

Name 속성 값은 특정 명명 된 캐시 구성에 대 한 고유 식별자입니다. 각 캐시 구성에는 고유 ID를 사용 해야 합니다.

memoryCache 구성 파일, 고유한 캐시 구성의 섹션에서 정의 됩니다는 namedCaches 구성 컬렉션입니다. 각 명명 된 캐시 항목의 구성 파일의 이름은 고유 해야 합니다. 이 값에는 하나 이상의 자 여야 합니다.

캐시를 구성하는 방법에 대한 자세한 내용은 namedCaches> 요소(캐시 설정)를 참조하세요.<

적용 대상

추가 정보