HttpCacheControl.WriteBehavior HttpCacheControl.WriteBehavior HttpCacheControl.WriteBehavior HttpCacheControl.WriteBehavior HttpCacheControl.WriteBehavior Property

Definition

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

public : HttpCacheWriteBehavior WriteBehavior { get; set; }
HttpCacheWriteBehavior WriteBehavior();

void WriteBehavior(HttpCacheWriteBehavior writebehavior);
public HttpCacheWriteBehavior WriteBehavior { get; set; }
Public ReadWrite Property WriteBehavior As HttpCacheWriteBehavior
var httpCacheWriteBehavior = httpCacheControl.writeBehavior;
httpCacheControl.writeBehavior = 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.

See also