IReferenceTracker::ConnectFromTrackerSource method (microsoft.ui.xaml.hosting.referencetracker.h)

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

Syntax

HRESULT ConnectFromTrackerSource();

Return value

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

Remarks

An example of when this method might be called is when a runtime-callable wrapper is created to a XAML object, such as when a XAML object is returned as an out parameter argument.

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