StorageProviderHydrationPolicy Enum

Definition

An enumeration of file hydration policy values for a placeholder file. The hydration policy allows a sync root to customize behavior for retrieving data for a placeholder file.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 65536)]
public enum StorageProviderHydrationPolicy
Inheritance
StorageProviderHydrationPolicy
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced in v1.0)

Fields

Name Value Description
Partial 0

Hydration is performed at the user's request. Hydration does not continue in the background.

Progressive 1

On demand hyrdration is performed. If hydration has not finished, it will continue in the background.

Full 2

Full hydration is performed. Ensures that the placeholder is available locally before completing a request.

AlwaysFull 3

If this is selected and a placeholder cannot be fully hydrated, the platform will fail with: ERROR_CLOUD_FILE_INVALID_REQUEST.

Applies to

Product Versions
WinRT Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100