EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

IReferenceTracker interface

Defines the interface implemented by the XAML framework for managing XAML object references.

Members

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

Methods

The IReferenceTracker interface has these methods.

MethodDescription
AddRefFromTrackerSource

Indicates each time that a tracker source calls IUnknown::AddRef on the reference tracker; called after the AddRef call.

ConnectFromTrackerSource

Indicates that a reference tracker source has created its first COM reference on a reference tracker object.

DisconnectFromTrackerSource

Indicates that a reference tracker source has stopped tracking a reference tracker.

FindTrackerTargets

Finds out what reference tracker targets are reachable from a reference tracker source; must be called by a garbage collector between calls to ReferenceTrackingStarted and FindTrackerTargetsCompleted.

GetReferenceTrackerManager

Gets an IReferenceTrackerManager interface from a XAML object.

PegFromTrackerSource

Indicates that a tracker source is unable to protected a reference tracker object.

ReleaseFromTrackerSource

Indicates each time that a tracker source calls IUnknown::Release on the reference tracker; must be called before the Release call.

 

Remarks

This interface is implemented by most XAML framework objects. It is not defined as agile, nor does it marshal across apartments. Use it only from within the apartment of the XAML object that implements it.

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

 

 

Contribuições da comunidade

Mostrar:
© 2014 Microsoft