Windows Dev Center

WriteActivationMode enumeration

Indicates whether other apps can write to the locally cached version of the file and when Windows will request an update if another app writes to that local file.

Syntax


var value = Windows.Storage.Provider.WriteActivationMode.readOnly;

Members

The WriteActivationMode enumeration has these members.

MemberValueDescription
ReadOnly | readOnly0

Other apps can't write to the local file.

NotNeeded | notNeeded1

Windows will trigger a file update request when another app writes to the local file.

AfterWrite | afterWrite2

Windows will trigger a file update request after another app writes to the local file.

Remarks

If your app participates in the Cached File Updater contract, associate this information with the locally cached copy of a file by calling CachedFileUpdater.SetUpdateInformation.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft