Partager via


UserDataAccountStore.StoreChanged Événement

Définition

Se produit lorsque le UserDataAccountStore change.

// Register
event_token StoreChanged(TypedEventHandler<UserDataAccountStore, UserDataAccountStoreChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void StoreChanged(event_token const* cookie) const;

// Revoke with event_revoker
UserDataAccountStore::StoreChanged_revoker StoreChanged(auto_revoke_t, TypedEventHandler<UserDataAccountStore, UserDataAccountStoreChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataAccountStore,UserDataAccountStoreChangedEventArgs> StoreChanged;
function onStoreChanged(eventArgs) { /* Your code */ }
userDataAccountStore.addEventListener("storechanged", onStoreChanged);
userDataAccountStore.removeEventListener("storechanged", onStoreChanged);
- or -
userDataAccountStore.onstorechanged = onStoreChanged;
Public Custom Event StoreChanged As TypedEventHandler(Of UserDataAccountStore, UserDataAccountStoreChangedEventArgs) 

Type d'événement

Configuration requise pour Windows

Famille d’appareils
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v3.0)

S’applique à