System.Net.Cache 命名空間

System.Net.Cache 命名空間定義型別和列舉,可用來為使用 WebRequestHttpWebRequest 類別所取得的資源定義快取原則。 The System.Net.Cache namespace defines the types and enumerations used to define cache policies for resources obtained using the WebRequest and HttpWebRequest classes.

類別

HttpRequestCachePolicy

定義使用 HttpWebRequest 物件取得的資源的應用程式快取需求。Defines an application's caching requirements for resources obtained by using HttpWebRequest objects.

RequestCachePolicy

定義使用 WebRequest 物件取得的資源的應用程式快取需求。Defines an application's caching requirements for resources obtained by using WebRequest objects.

列舉

HttpCacheAgeControl

指定時間值的意義,該值控制使用 HttpWebRequest 物件取得之資源的快取行為。Specifies the meaning of time values that control caching behavior for resources obtained using HttpWebRequest objects.

HttpRequestCacheLevel

指定使用超文字傳輸協定 (Hypertext Transfer Protocol,HTTP) 取得之資源的快取行為。Specifies caching behavior for resources obtained using the Hypertext Transfer protocol (HTTP).

RequestCacheLevel

指定使用 WebRequest 及其衍生類別取得之資源的快取行為。Specifies caching behavior for resources obtained using WebRequest and its derived classes.