Share via


IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged Event

Definition

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

Remarks

To update any property on StorageProviderKnownFolderSyncInfo, the cloud provider should raise the KnownFolderSyncInfoChanged event and be ready to provide a new StorageProviderKnownFolderSyncInfo object.

Applies to

See also