IReferenceTrackerManager::FindTrackerTargetsCompleted method (microsoft.ui.xaml.hosting.referencetracker.h)
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).
Syntax
HRESULT FindTrackerTargetsCompleted(
[in] boolean findFailed
);
Parameters
[in] findFailed
True, if failed allocations are included. Otherwise, false.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This marks the end of the foreground garbage collection. At this point background garbage collection will run on a separate thread.
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 |