EmailMailbox.GetChangeTracker(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a EmailMailboxChangeTracker that provides functionality for monitoring changes to items in the EmailMailbox.
public:
virtual EmailMailboxChangeTracker ^ GetChangeTracker(Platform::String ^ identity) = GetChangeTracker;
EmailMailboxChangeTracker GetChangeTracker(winrt::hstring const& identity);
public EmailMailboxChangeTracker GetChangeTracker(string identity);
function getChangeTracker(identity)
Public Function GetChangeTracker (identity As String) As EmailMailboxChangeTracker
Parameters
- identity
-
String
Platform::String
winrt::hstring
A string that identifies the EmailMailboxChangeTracker instance in the EmailMailbox.
Returns
A EmailMailboxChangeTracker that provides functionality for monitoring changes to items in the EmailMailbox.
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
App capabilities |
email
emailSystem
|
Remarks
You can create multiple EmailMailboxChangeTracker instances by using this method. If you pass in a string that identifies a EmailMailboxChangeTracker that already exists in the EmailMailbox, this method returns that instance. If the string that you pass into this method does not identify an existing an existing EmailMailboxChangeTracker, this method returns a new EmailMailboxChangeTracker.
You can use the IsTracking property of the EmailMailboxChangeTracker to determine whether change tracking is enabled for the EmailMailboxChangeTracker.