StorageProviderHydrationPolicy Enum
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.
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
Device family |
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
|
API contract |
Windows.Storage.Provider.CloudFilesContract (introduced in v1.0)
|
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. |
Product | Versions |
---|---|
WinRT | Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |