IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged 事件

定义

已知文件夹的同步状态更改时引发的事件。

// 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) 

事件类型

注解

若要更新 StorageProviderKnownFolderSyncInfo 上的任何属性,云提供商应引发 KnownFolderSyncInfoChanged 事件,并准备好提供新的 StorageProviderKnownFolderSyncInfo 对象。

适用于

另请参阅