HttpCacheControl.ReadBehavior HttpCacheControl.ReadBehavior HttpCacheControl.ReadBehavior HttpCacheControl.ReadBehavior HttpCacheControl.ReadBehavior Property

Definition

Get or set the read behavior to use for cache control on the HttpCacheControl object.

public : HttpCacheReadBehavior ReadBehavior { get; set; }
HttpCacheReadBehavior ReadBehavior();

void ReadBehavior(HttpCacheReadBehavior readbehavior);
public HttpCacheReadBehavior ReadBehavior { get; set; }
Public ReadWrite Property ReadBehavior As HttpCacheReadBehavior
var httpCacheReadBehavior = httpCacheControl.readBehavior;
httpCacheControl.readBehavior = 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.

See also