The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PackWebRequest::CachePolicy Property
.NET Framework (current version)
Gets or sets the RequestCachePolicy.
Assembly: PresentationCore (in PresentationCore.dll)
public: property RequestCachePolicy^ CachePolicy { virtual RequestCachePolicy^ get() override; virtual void set(RequestCachePolicy^ value) override; }
Property Value
Type: System.Net.Cache::RequestCachePolicy^The RequestCachePolicy to use with pack URI web request.
| Exception | Condition |
|---|---|
| WebException | The specified RequestCachePolicy to set is not valid. |
The CachePolicy property is distinct from the CachePolicy of the inner WebRequest returned by the GetInnerRequest method.
.NET Framework
Available since 3.0
Available since 3.0
Show: