StorageProviderHydrationPolicy StorageProviderHydrationPolicy StorageProviderHydrationPolicy StorageProviderHydrationPolicy 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.

public : enum class StorageProviderHydrationPolicy
enum class winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy : int32_t
public enum StorageProviderHydrationPolicy
Public Enum StorageProviderHydrationPolicy
var value = Windows.Storage.Provider.StorageProviderHydrationPolicy.alwaysFull;
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.16299.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced v1)

Fields

AlwaysFull AlwaysFull AlwaysFull AlwaysFull AlwaysFull 3

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

Full Full Full Full Full 2

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

Partial Partial Partial Partial Partial 0

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

Progressive Progressive Progressive Progressive Progressive 1

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