UserDataAccountStore.StoreChanged 事件

定义

UserDataAccountStore 更改时发生。

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

事件类型

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于