CacheConditionAttribute Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Declara las dimensiones de variación que, cuando todas las activas en cacheView envolventes incluyen el componente en la salida almacenada en caché en lugar de tratarlo como un componente almacenado en caché en directo (o se produce cuando se anota con CacheBehaviorAttribute y 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
- Herencia
-
CacheConditionAttribute
- Atributos
Constructores
| Nombre | Description |
|---|---|
| CacheConditionAttribute(CacheVaryBy) |
Inicializa una nueva instancia de la clase CacheConditionAttribute. |
Propiedades
| Nombre | Description |
|---|---|
| VaryBy |
Obtiene las dimensiones de variación que, cuando todas las activas en la cacheView envolvente incluyen el componente en la salida almacenada en caché. |