Share via


ChatMessageStore.StoreChanged Event

Definition

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

Applies to