Resource |
public static void StartTrackingResources()
StartTrackingResources starts tracking of resources.
After the resources have been tracked, it is possible to get tracked resources by GetTrackedResources, GetTrackedResourcesReport(Boolean, Boolean, Boolean) or display the tracked resources in Visual Studio's Immediate Window with DumpTrackedResources(Boolean, Boolean).
To track all resources this method must be called before any other object is created (for example before InitializeComponent in the application's main window).
It is possible to stop tracking resources with StopTrackingResources.