次の方法で共有


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

適用対象