Share via


ChatMessageChangeTracker.Enable Method

Definition

Enables change tracking for the messages in the message store.

public:
 virtual void Enable() = Enable;
void Enable();
public void Enable();
function enable()
Public Sub Enable ()

Windows requirements

App capabilities
chat blockedChatMessages chatSystem smsSend

Remarks

Change tracking for messages in the message store is enabled from the ChangeTracker property of the ChatMessageStore object. This is accomplished as shown in the following example:

void TurnOnChangeTracking(ChatMessageStore messageStore)
{
    messageStore.ChangeTracker.Enable();
}

Applies to