OutputCacheParameters.Duration Propriedade

Definição

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.

public:
 property int Duration { int get(); void set(int value); };
public int Duration { get; set; }
member this.Duration : int with get, set
Public Property Duration As Integer

Valor da propriedade

Int32

A quantidade de tempo, em segundos, que uma entrada de cache deve permanecer no cache de saída.The amount of time, in seconds, that a cache entry is to remain in the output cache. O padrão é 0, que indica uma duração infinita.The default is 0, which indicates an infinite duration.

Aplica-se a

Confira também