Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 1.62 KB

nf-microsoft-ui-xaml-hosting-referencetracker-ireferencetracker-disconnectfromtrackersource.md

File metadata and controls

57 lines (49 loc) · 1.62 KB
UID tech.root title ms.date targetos description prerelease req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:microsoft.ui.xaml.hosting.referencetracker.IReferenceTracker.DisconnectFromTrackerSource
winuicominterop
IReferenceTracker::DisconnectFromTrackerSource
09/10/2021
Windows
Indicates that a reference tracker source has stopped tracking a reference tracker.
false
function
microsoft.ui.xaml.hosting.referencetracker.h
Windows 10, version 1809 (with Windows App SDK 0.5 or later)
apiref
COM
microsoft.ui.xaml.hosting.referencetracker.h
IReferenceTracker::DisconnectFromTrackerSource
IReferenceTracker::DisconnectFromTrackerSource
microsoft.ui.xaml.hosting.referencetracker/IReferenceTracker::DisconnectFromTrackerSource
c++

-description

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

-returns

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

-remarks

Calling this method does not indicate that the tracker source has released all COM references on the reference tracker.

This method is called by the CLR during garbage collection when a runtime-callable wrapper is collected, but the XAML object does not get released until it is processed by the finalizer thread.

-see-also