Megosztás a következőn keresztül:


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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 65536)]
enum class StorageProviderHydrationPolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 65536)]
public enum StorageProviderHydrationPolicy
var value = Windows.Storage.Provider.StorageProviderHydrationPolicy.partial
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