HttpCacheWriteBehavior HttpCacheWriteBehavior HttpCacheWriteBehavior HttpCacheWriteBehavior HttpCacheWriteBehavior Enum

Definition

Indicates if content returned by requests used by class methods in the Windows.Web.Http and Windows.Web.Http.Filters namespaces is written to the local HTTP cache.

public : enum class HttpCacheWriteBehavior
enum class winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior : int32_t
public enum HttpCacheWriteBehavior
Public Enum HttpCacheWriteBehavior
var value = Windows.Web.Http.Filters.HttpCacheWriteBehavior.default;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Default Default Default Default Default 0

Use the default behavior of WinInet. This usually results in writing the response to the local HTTP cache.

NoCache NoCache NoCache NoCache NoCache 1

Never write the response to the local HTTP cache.

See also