CacheConditionAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
外側の CacheView でアクティブな場合は、コンポーネントをライブ キャッシュ コンポーネントとして扱う (または、 CacheBehaviorAttribute と 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
- 属性
コンストラクター
| Name | 説明 |
|---|---|
| CacheConditionAttribute(CacheVaryBy) |
CacheConditionAttribute クラスの新しいインスタンスを初期化します。 |
プロパティ
| Name | 説明 |
|---|---|
| VaryBy |
外側の CacheView ですべてアクティブな場合に、キャッシュされた出力にコンポーネントを含めるさまざまなディメンションを取得します。 |