HttpCacheControl.ReadBehavior Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get or set the read behavior to use for cache control on the HttpCacheControl object.
public:
property HttpCacheReadBehavior ReadBehavior { HttpCacheReadBehavior get(); void set(HttpCacheReadBehavior value); };
HttpCacheReadBehavior ReadBehavior();
void ReadBehavior(HttpCacheReadBehavior value);
public HttpCacheReadBehavior ReadBehavior { get; set; }
var httpCacheReadBehavior = httpCacheControl.readBehavior;
httpCacheControl.readBehavior = httpCacheReadBehavior;
Public Property ReadBehavior As HttpCacheReadBehavior
Property Value
The read behavior to use for cache control.
Remarks
The ReadBehavior property on the HttpCacheControl object allows an app to get or set the read cache behavior to use on the HttpBaseProtocolFilter object. HTTP read requests can use the local HTTP cache for the responses. Content returned by HTTP requests can be written to the local HTTP cache.