CacheProfile.Duration Propiedad

Definición

Obtiene o establece la duración en segundos para la que se almacena en caché la respuesta. Si esta propiedad se establece en un valor distinto de NULL, el encabezado "max-age" de "Cache-control" se establece en .Response

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

Valor de propiedad

Se aplica a