Delen via


HttpCacheControl.WriteBehavior Property

Definition

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.

Applies to

See also