IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已知文件夹的同步状态更改时引发的事件。
// 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)
事件类型
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,Object>
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,IInspectable>
注解
若要更新 StorageProviderKnownFolderSyncInfo 上的任何属性,云提供商应引发 KnownFolderSyncInfoChanged 事件,并准备好提供新的 StorageProviderKnownFolderSyncInfo 对象。