WriteActivationMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WriteActivationMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WriteActivationMode
var value = Windows.Storage.Provider.WriteActivationMode.readOnly
Public Enum WriteActivationMode
- Inheritance
-
WriteActivationMode
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
ReadOnly | 0 | Other apps can't write to the local file. |
NotNeeded | 1 | Windows will trigger a file update request when another app writes to the local file. |
AfterWrite | 2 | 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.