CacheConditionAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
캐시 뷰를 바깥쪽에 있는 모든 활성 상태일 때 캐시된 구성 요소를 라이브 캐시된 구성 요소로 처리하거나 주석이 추가될 CacheBehaviorAttributeThrow때 throw하는 대신 캐시된 출력에 구성 요소를 포함하는 다양한 차원을 선언합니다.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class CacheConditionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type CacheConditionAttribute = class
inherit Attribute
Public NotInheritable Class CacheConditionAttribute
Inherits Attribute
- 상속
-
CacheConditionAttribute
- 특성
생성자
| 속성 | Description |
|---|---|
| CacheConditionAttribute(CacheVaryBy) |
CacheConditionAttribute 클래스의 새 인스턴스를 초기화합니다. |
속성
| 속성 | Description |
|---|---|
| VaryBy |
바깥쪽 CacheView에서 모든 활성 상태일 때 캐시된 출력에 구성 요소를 포함하는 다양한 차원을 가져옵니다. |