共用方式為


HttpCacheControl.WriteBehavior 屬性

定義

取得或設定要用於 HttpCacheControl 物件之快取控制項的寫入行為。

public:
 property HttpCacheWriteBehavior WriteBehavior { HttpCacheWriteBehavior get(); void set(HttpCacheWriteBehavior value); };
HttpCacheWriteBehavior WriteBehavior();

void WriteBehavior(HttpCacheWriteBehavior value);
public HttpCacheWriteBehavior WriteBehavior { get; set; }
var httpCacheWriteBehavior = httpCacheControl.writeBehavior;
httpCacheControl.writeBehavior = httpCacheWriteBehavior;
Public Property WriteBehavior As HttpCacheWriteBehavior

屬性值

要用於快取控制項的讀取行為。

備註

HttpCacheControl物件的 WriteBehavior 屬性可讓應用程式取得或設定要在 HttpBaseProtocolFilter物件上使用的寫入快取行為。 HTTP 要求傳回的內容可以寫入本機 HTTP 快取。

適用於

另請參閱