共用方式為


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 物件。

適用於

另請參閱