IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Evento generato quando lo stato di sincronizzazione di una cartella nota viene modificato.
// 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)
Tipo evento
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,Object>
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,IInspectable>
Commenti
Per aggiornare qualsiasi proprietà in StorageProviderKnownFolderSyncInfo, il provider cloud deve generare l'evento KnownFolderSyncInfoChanged e essere pronto per fornire un nuovo oggetto StorageProviderKnownFolderSyncInfo .