Dela via


ReadActivationMode Enum

Definition

Indicates when Windows will request a file update if another app retrieves the file from its MostRecentlyUsedList or FutureAccessList.

public enum class ReadActivationMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ReadActivationMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ReadActivationMode
var value = Windows.Storage.Provider.ReadActivationMode.notNeeded
Public Enum ReadActivationMode
Inheritance
ReadActivationMode
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
NotNeeded 0

Windows will not trigger a file update request when another app retrieves the local file.

BeforeAccess 1

Windows will trigger a file update request just before it has been retrieved from the app's MostRecentlyUsedList or FutureAccessList.

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.

Applies to