IStorageProviderKnownFolderSyncInfoSource.KnownFolderSyncInfoChanged Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
O evento gerado quando a sincronização status de uma pasta conhecida é alterada.
// 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 de evento
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,Object>
TypedEventHandler<IStorageProviderKnownFolderSyncInfoSource,IInspectable>
Comentários
Para atualizar qualquer propriedade em StorageProviderKnownFolderSyncInfo, o provedor de nuvem deve gerar o evento KnownFolderSyncInfoChanged e estar pronto para fornecer um novo objeto StorageProviderKnownFolderSyncInfo .