IReferenceTrackerManager interface
Defines the interface for a XAML object reference manager. Implement this interface to manage instances of IReferenceTracker on XAML objects.
Members
The IReferenceTrackerManager interface inherits from the IUnknown interface. IReferenceTrackerManager also has these types of members:
Methods
The IReferenceTrackerManager interface has these methods.
| Method | Description |
|---|---|
| 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. |
| ReferenceTrackingCompleted |
Indicates that a garbage collection system has finished with its collection process; at this point, XAML unblocks threads attempting to update tracked references. |
| ReferenceTrackingStarted |
Indicates that a garbage collector is performing a collection; when the collection is finished, the garbage collector calls FindTrackerTargetsCompleted. |
| 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
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|