IReferenceTrackerManager interface (windows.ui.xaml.hosting.referencetracker.h)

Defines the interface for a XAML object reference manager. Implement this interface to manage instances of IReferenceTracker on XAML objects.

Inheritance

The IReferenceTrackerManager interface inherits from the IUnknown interface. IReferenceTrackerManager also has these types of members:

Methods

The IReferenceTrackerManager interface has these methods.

 
IReferenceTrackerManager::FindTrackerTargetsCompleted

Indicates that a garbage collection system has finished making all the calls it needs to IReferenceTracker::FindTrackerTargets; by this time, XAML has pegged all reference tracker targets that it wants to protect.
IReferenceTrackerManager::ReferenceTrackingCompleted

Indicates that a garbage collection system has finished with its collection process; at this point, XAML unblocks threads attempting to update tracked references.
IReferenceTrackerManager::ReferenceTrackingStarted

Indicates that a garbage collector is performing a collection; when the collection is finished, the garbage collector calls FindTrackerTargetsCompleted.
IReferenceTrackerManager::SetReferenceTrackerHost

Registers an IReferenceTrackerHost interface with XAML.

Remarks

Obtain a reference to an implementation of this interface by calling IReferenceTracker::GetReferenceTrackerManager on a XAML object that implements IReferenceTracker.

There is only one instance of IReferenceTrackerManager for a process, and it may be called from any thread.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header windows.ui.xaml.hosting.referencetracker.h