CacheVaryByRules Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents vary-by rules.
public sealed class CacheVaryByRules
type CacheVaryByRules = class
Public NotInheritable Class CacheVaryByRules
- Inheritance
-
CacheVaryByRules
Constructors
CacheVaryByRules() |
Properties
CacheKeyPrefix |
Gets or sets a prefix to vary by. |
HeaderNames |
Gets or sets the list of header names to vary by. |
QueryKeys |
Gets or sets the list of query string keys to vary by. |
RouteValueNames |
Gets or sets the list of route value names to vary by. |
VaryByHost |
Gets or sets whether to vary by the HOST header value or not. |
VaryByValues |
Gets a dictionary of key-pair values to vary by. |