HttpCachePolicyWrapper.SetCacheability Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Cache-Control
Üst bilgiyi değerlerden birine HttpCacheability ayarlar.
Aşırı Yüklemeler
SetCacheability(HttpCacheability) |
|
SetCacheability(HttpCacheability, String) |
|
SetCacheability(HttpCacheability)
Cache-Control
Üst bilgiyi belirtilen HttpCacheability değere ayarlar.
public:
override void SetCacheability(System::Web::HttpCacheability cacheability);
public override void SetCacheability (System.Web.HttpCacheability cacheability);
override this.SetCacheability : System.Web.HttpCacheability -> unit
Public Overrides Sub SetCacheability (cacheability As HttpCacheability)
Parametreler
- cacheability
- HttpCacheability
HttpCacheability Üst bilginin ayarlanacağı numaralandırma değeri.
Özel durumlar
cacheability
sabit listesi değerlerinden biri değildir.
Şunlara uygulanır
SetCacheability(HttpCacheability, String)
Cache-Control
Üst bilgiyi belirtilen HttpCacheability değere ayarlar ve yönergesine bir uzantı ekler.
public:
override void SetCacheability(System::Web::HttpCacheability cacheability, System::String ^ field);
public override void SetCacheability (System.Web.HttpCacheability cacheability, string field);
override this.SetCacheability : System.Web.HttpCacheability * string -> unit
Public Overrides Sub SetCacheability (cacheability As HttpCacheability, field As String)
Parametreler
- cacheability
- HttpCacheability
HttpCacheability Üst bilginin ayarlanacağı numaralandırma değeri.
- field
- String
Üst bilgisine eklenecek önbellek denetimi uzantısı.
Özel durumlar
field
, null
değeridir.