Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IReferenceTrackerManager::ReferenceTrackingStarted method

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

Syntax


HRESULT ReferenceTrackingStarted();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

When this method is called, XAML blocks all threads where it is attempting to update tracked references. Between calls to ReferenceTrackingStarted and ReferenceTrackingCompleted, XAML does not make any calls to reference tracker target objects other than Peg and Unpeg.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Windows.ui.xaml.hosting.referencetracker.h

IDL

Windows.ui.xaml.hosting.referencetracker.idl

See also

IReferenceTrackerManager

 

 

Community Additions

Show:
© 2014 Microsoft