언어

CacheConditionAttribute 클래스

정의

캐시 뷰를 바깥쪽에 있는 모든 활성 상태일 때 캐시된 구성 요소를 라이브 캐시된 구성 요소로 처리하거나 주석이 추가될 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에서 모든 활성 상태일 때 캐시된 출력에 구성 요소를 포함하는 다양한 차원을 가져옵니다.

적용 대상