ContactChangeTracker ContactChangeTracker ContactChangeTracker ContactChangeTracker Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Provides functionality for monitoring changes to Contact objects in the ContactStore.

public : sealed class ContactChangeTracker : IContactChangeTrackerpublic sealed class ContactChangeTracker : IContactChangeTrackerPublic NotInheritable Class ContactChangeTracker Implements IContactChangeTracker// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Use ContactStore.ChangeTracker or ContactList.ChangeTracker to get an instance of this class.

Properties

IsTracking IsTracking IsTracking IsTracking

Prerelease. Gets a Boolean value indicating whether change tracking is active.

public : PlatForm::Boolean IsTracking { get; }public bool IsTracking { get; }Public ReadOnly Property IsTracking As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

A Boolean value indicating whether change tracking is active.

Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Methods

Enable() Enable() Enable() Enable()

Call this method to enable change tracking.

public : void Enable()public void Enable()Public Function Enable() As void// You can use this method in JavaScript.

GetChangeReader() GetChangeReader() GetChangeReader() GetChangeReader()

Gets a ContactChangeReader that can be used to process changes.

public : ContactChangeReader GetChangeReader()public ContactChangeReader GetChangeReader()Public Function GetChangeReader() As ContactChangeReader// You can use this method in JavaScript.
Returns

Reset() Reset() Reset() Reset()

Call this method to reset the change tracker if your app receives ContactChangeType.ChangeTrackingLost.

public : void Reset()public void Reset()Public Function Reset() As void// You can use this method in JavaScript.