WriteActivationMode WriteActivationMode WriteActivationMode WriteActivationMode WriteActivationMode Enum


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.

public : enum class WriteActivationMode
enum class winrt::Windows::Storage::Provider::WriteActivationMode : int32_t
public enum WriteActivationMode
Public Enum WriteActivationMode
var value = Windows.Storage.Provider.WriteActivationMode.afterWrite;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AfterWrite AfterWrite AfterWrite AfterWrite AfterWrite 2

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

NotNeeded NotNeeded NotNeeded NotNeeded NotNeeded 1

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

ReadOnly ReadOnly ReadOnly ReadOnly ReadOnly 0

Other apps can't write to the local file.


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.