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.
The IReferenceTrackerManager interface inherits from the IUnknown interface. IReferenceTrackerManager also has these types of members:
The IReferenceTrackerManager interface has these methods.
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.
Indicates that a garbage collection system has finished with its collection process; at this point, XAML unblocks threads attempting to update tracked references.
Indicates that a garbage collector is performing a collection; when the collection is finished, the garbage collector calls FindTrackerTargetsCompleted.
Registers an IReferenceTrackerHost interface with XAML.
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.
|Minimum supported client||Windows 8 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2012 [desktop apps | UWP apps]|