CacheProfile.Duration Vlastnost

Definice

Získá nebo nastaví dobu trvání v sekundách, pro které je odpověď uložena v mezipaměti. Pokud je tato vlastnost nastavena na hodnotu non null, "max-age" v "Cache-control" hlavička je nastavena Responsev .

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)

Hodnota vlastnosti

Nullable<Int32>

Platí pro