ChatMessageStore.StoreChanged 事件

定义

ChatMessageStore 中的某些内容发生更改时发生。

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

事件类型

Windows 要求

应用功能
chat blockedChatMessages chatSystem smsSend

适用于