Export (0) Print
Expand All

IReferenceTrackerTarget interface

Defines an interface implemented by a garbage collector object referenced from XAML.

Members

The IReferenceTrackerTarget interface inherits from the IUnknown interface. IReferenceTrackerTarget also has these types of members:

Methods

The IReferenceTrackerTarget interface has these methods.

MethodDescription
AddRefFromReferenceTracker

Indicates that the reference tracker is returning the target XAML object(s) from previous calls to FindTrackerTargets. Note that the reference is held by the reference tracker object in lieu of IUnknown::AddRef.

Peg

Marks that the reference tracker target is in use by the XAML framework, and should not be collected.

ReleaseFromReferenceTracker

Releases the XAML object reference marked in a previous call to AddRefFromReferenceTracker.

Unpeg

Marks that the reference tracker target is no longer in use by the XAML framework, and can be collected.

 

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft