Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpCacheControl.WriteBehavior | writeBehavior property

Applies to Windows and Windows Phone

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

Syntax


var writeBehavior = httpCacheControl.writeBehavior;
httpCacheControl.writeBehavior = writeBehavior;

Property value

Type: HttpCacheWriteBehavior

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Filters
Windows::Web::Http::Filters [C++]

Metadata

Windows.winmd

See also

CacheControl
HttpBaseProtocolFilter
HttpCacheControl
HttpCacheWriteBehavior
ReadBehavior

 

 

Show:
© 2014 Microsoft. All rights reserved.