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