CachedFileOptions enumeration

Applies to Windows and Windows Phone

Describes when Windows will request an update to a file.

Syntax


var value = Windows.Storage.Provider.CachedFileOptions.none;

Attributes

[Flags()]
[Version(0x06020000)]

Members

The CachedFileOptions enumeration has these members.

MemberValueDescription
None | none0

Another app may be able to access the locally cached copy of the file without triggering an update.

RequireUpdateOnAccess | requireUpdateOnAccess1

An update always triggers when another app accesses the locally cached copy of the file.

UseCachedFileWhenOffline | useCachedFileWhenOffline2

An update triggers when another app accesses the locally cached copy of the file if a network connection is available.  Otherwise, other apps can access the local file without triggering an update.

DenyAccessWhenOffline | denyAccessWhenOffline4

An update triggers when another app accesses the locally cached copy of the file if a network connection is available.  Otherwise, other apps are denied access to the local file.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Storage.Provider
Windows::Storage::Provider [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft