StorageProviderKnownFolderSyncInfo Class
Definition
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.
The StorageProviderKnownFolderSyncInfo class encapsulates all the information relevant to the provider’s backup/sync capability and status.
public ref class StorageProviderKnownFolderSyncInfo sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderKnownFolderSyncInfo final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageProviderKnownFolderSyncInfo
function StorageProviderKnownFolderSyncInfo()
Public NotInheritable Class StorageProviderKnownFolderSyncInfo
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11 Insider Preview (introduced in 10.0.23504.0)
|
API contract |
Windows.Storage.Provider.CloudFilesContract (introduced in v7.0)
|
Remarks
StorageProviderKnownFolderSyncInfo lets the provider specify a friendly name and status for known folders. Once the object is returned by GetKnownFolderSyncInfoSource it should be considered immutable. Changing a property on the object after it has been returned could result in undefined behavior. To update any property on StorageProviderKnownFolderSyncInfo, the cloud provider should raise the KnownFolderSyncInfoChanged event on IStorageProviderKnownFolderSyncInfoSource and be ready to provide a new StorageProviderKnownFolderSyncInfo object.
Any missing property or invalid Uri on the StorageProviderKnownFolderSyncInfo will result in the enrollment button not being shown for this provider.
Constructors
StorageProviderKnownFolderSyncInfo() |
Creates an instance of StorageProviderKnownFolderSyncInfo. |
Properties
KnownFolderEntries |
The list of known folders that are registered with the provider. |
ProviderDisplayName |
The friendly name of the provider. |
SyncRequested |
The SyncRequested event is raised when the user requests a sync operation on a known folder. |