Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines an interface implemented by a garbage collector object referenced from XAML.
Inheritance
The IReferenceTrackerTarget interface inherits from the IUnknown interface.
Methods
The IReferenceTrackerTarget interface has these methods.
IReferenceTrackerTarget::AddRefFromReferenceTracker Indicates that the reference tracker is returning the target XAML object(s) from previous calls to FindTrackerTargets. |
IReferenceTrackerTarget::Peg Marks that the reference tracker target is in use by the XAML framework, and should not be collected. |
IReferenceTrackerTarget::ReleaseFromReferenceTracker Releases the XAML object reference marked in a previous call to AddRefFromReferenceTracker. |
IReferenceTrackerTarget::Unpeg Marks that the reference tracker target is no longer in use by the XAML framework and can be collected. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 (with Windows App SDK 0.5 or later) |
Header | microsoft.ui.xaml.hosting.referencetracker.h |