Bagikan melalui


CacheProfile.NoStore Properti

Definisi

Mendapatkan atau menetapkan nilai yang menentukan apakah data harus disimpan atau tidak. Ketika diatur ke true, ia mengatur header "Cache-control" ke Response "no-store". Mengabaikan parameter "Lokasi" untuk nilai selain "Tidak Ada". Mengabaikan parameter "Durasi".

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

Nilai Properti

Berlaku untuk