Bagikan melalui


UserDataAccountStore.StoreChanged Kejadian

Definisi

Terjadi ketika UserDataAccountStore berubah.

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

Jenis Acara

Persyaratan Windows

Rangkaian perangkat
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v3.0)

Berlaku untuk