Share via


ChatMessageStore.ChangeTracker Property

Definition

Gets a ChatMessageChangeTracker class object for the message store. A message change tracker allows an application to monitor changes to messages in the message store.

public:
 property ChatMessageChangeTracker ^ ChangeTracker { ChatMessageChangeTracker ^ get(); };
ChatMessageChangeTracker ChangeTracker();
public ChatMessageChangeTracker ChangeTracker { get; }
var chatMessageChangeTracker = chatMessageStore.changeTracker;
Public ReadOnly Property ChangeTracker As ChatMessageChangeTracker

Property Value

The chat message change tracker for the store.

Windows requirements

App capabilities
chat chatSystem smsSend

Remarks

An application can enable change tracking by accessing this ChatMessageChangeTracker object. The following example shows how to enable message change tracking.

// Enable message change tracking
void SetTrackingOn(ChatMessageStore store)
{
    store.ChangeTracker.Enable();
}

The chat application receives notifications of message changes in its message change event handler which is registered to the MessageChanged event.

Applies to