IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged Event
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 event that is raised when the sync status of a known folder changes.
// Register
event_token KnownFolderSyncInfoChanged(TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource, IInspectable const&> const& handler) const;
// Revoke with event_token
void KnownFolderSyncInfoChanged(event_token const* cookie) const;
// Revoke with event_revoker
IStorageProviderKnownFolderSyncInfoSource::KnownFolderSyncInfoChanged_revoker KnownFolderSyncInfoChanged(auto_revoke_t, TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource, IInspectable const&> const& handler) const;
event TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,object> KnownFolderSyncInfoChanged;
function onKnownFolderSyncInfoChanged(eventArgs) { /* Your code */ }
iStorageProviderKnownFolderSyncInfoSource.addEventListener("knownfoldersyncinfochanged", onKnownFolderSyncInfoChanged);
iStorageProviderKnownFolderSyncInfoSource.removeEventListener("knownfoldersyncinfochanged", onKnownFolderSyncInfoChanged);
- or -
iStorageProviderKnownFolderSyncInfoSource.onknownfoldersyncinfochanged = onKnownFolderSyncInfoChanged;
Event KnownFolderSyncInfoChanged As TypedEventHandler(Of IStorageProviderKnownFolderSyncInfoSource, Object)
Event Type
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,Object>
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,IInspectable>
Remarks
To update any property on StorageProviderKnownFolderSyncInfo, the cloud provider should raise the KnownFolderSyncInfoChanged event and be ready to provide a new StorageProviderKnownFolderSyncInfo object.