ChatMessageStore.StoreChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when something in the ChatMessageStore has changed.
// Register
event_token StoreChanged(TypedEventHandler<ChatMessageStore, ChatMessageStoreChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void StoreChanged(event_token const* cookie) const;
// Revoke with event_revoker
ChatMessageStore::StoreChanged_revoker StoreChanged(auto_revoke_t, TypedEventHandler<ChatMessageStore, ChatMessageStoreChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ChatMessageStore,ChatMessageStoreChangedEventArgs> StoreChanged;
function onStoreChanged(eventArgs) { /* Your code */ }
chatMessageStore.addEventListener("storechanged", onStoreChanged);
chatMessageStore.removeEventListener("storechanged", onStoreChanged);
- or -
chatMessageStore.onstorechanged = onStoreChanged;
Public Custom Event StoreChanged As TypedEventHandler(Of ChatMessageStore, ChatMessageStoreChangedEventArgs)
Event Type
Windows requirements
App capabilities |
chat
blockedChatMessages
chatSystem
smsSend
|