Share via


UserDataAccountStore.StoreChanged Event

Definition

Occurs when the UserDataAccountStore changes.

// 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) 

Event Type

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to