HttpCacheControl.WriteBehavior 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 write behavior to use for cache control on the HttpCacheControl object.
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
Property Value
The read behavior to use for cache control.
Remarks
The WriteBehavior property on the HttpCacheControl object allows an app to get or set the write cache behavior to use on the HttpBaseProtocolFilter object. Content returned by HTTP requests can be written to the local HTTP cache.