OutputCacheParameters Classe
Definição
Encapsula as configurações de inicialização do cache de saída analisadas com base em uma diretiva da página @ OutputCache pelo ASP.NET.Encapsulates the output cache initialization settings parsed from an @ OutputCache page directive by ASP.NET. Essa classe não pode ser herdada.This class cannot be inherited.
public ref class OutputCacheParameters sealed
public sealed class OutputCacheParameters
type OutputCacheParameters = class
Public NotInheritable Class OutputCacheParameters
- Herança
-
OutputCacheParameters
Comentários
A OutputCacheParameters classe não é usada pela página ASP.net ou pelos desenvolvedores de controle.The OutputCacheParameters class is not used by ASP.NET page or control developers. Ele fornece uma estrutura de dados usada para armazenar as configurações de cache analisadas de uma diretiva de página @ OutputCache por página ASP.net e analisadores de controle, como PageParser e TemplateControlParser .It provides a data structure used to store cache settings parsed from an @ OutputCache page directive by ASP.NET page and control parsers such as PageParser and TemplateControlParser. O OutputCacheParameters objeto é usado com o Page.InitOutputCache método para inicializar o cache de saída para uma página e seu conteúdo em tempo de execução.The OutputCacheParameters object is used with the Page.InitOutputCache method to initialize the output cache for a page and its contents at run time.
Construtores
| OutputCacheParameters() |
Inicializa uma nova instância da classe OutputCacheParameters.Initializes a new instance of the OutputCacheParameters class. |
Propriedades
| CacheProfile |
Obtém ou define um OutputCacheProfile nome que está associado às configurações da entrada do cache de saída.Gets or sets an OutputCacheProfile name that is associated with the settings of the output cache entry. |
| Duration |
Obtém ou define a quantidade de tempo pelo qual uma entrada de cache deve permanecer no cache de saída.Gets or sets the amount of time that a cache entry is to remain in the output cache. |
| Enabled |
Obtém ou define um valor que indica se o cache de saída está habilitado para o conteúdo atual.Gets or sets a value indicating whether output caching is enabled for the current content. |
| Location |
Obtém ou define um valor que determina o local da entrada de cache.Gets or sets a value that determines the location of the cache entry. |
| NoStore |
Obtém ou define um valor que determina se a diretiva |
| SqlDependency |
Obtém ou define um conjunto de pares de nome de banco de dados e a tabela do qual a entrada de cache depende.Gets or sets a set of database and table name pairs that the cache entry depends on. |
| VaryByContentEncoding |
Obtém ou define um conjunto delimitado por vírgulas de conjuntos de caracteres (codificações de conteúdo) usados para variar a entrada de cache.Gets or sets a comma-delimited set of character sets (content encodings) used to vary the cache entry. |
| VaryByControl |
Obtém ou define um conjunto delimitado por ponto-e-vírgula dos identificadores de controle contidos na página atual ou no controle de usuário usados para variar a entrada de cache atual.Gets or sets a semicolon-delimited set of control identifiers contained within the current page or user control used to vary the current cache entry. |
| VaryByCustom |
Obtém uma lista de cadeias de caracteres personalizadas que o cache de saída usa para variar a entrada de cache.Gets a list of custom strings that the output cache uses to vary the cache entry. |
| VaryByHeader |
Obtém ou define um conjunto delimitado por vírgula de nomes de cabeçalho usados para variar a entrada de cache.Gets or sets a comma-delimited set of header names used to vary the cache entry. Os nomes de cabeçalho identificam os cabeçalhos HTTP associados à solicitação.The header names identify HTTP headers associated with the request. |
| VaryByParam |
Obtém uma lista delimitada por ponto e vírgula de cadeia de caracteres de consulta ou parâmetros POST do formulário que o cache de saída usa para variar a entrada de cache.Gets a semicolon-delimited list of query string or form POST parameters that the output cache uses to vary the cache entry. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |