Task Monitoring Example Using the Listview
ObjectLast Updated December 16, 2024
You can use the ViewManager’s
CreateListView
method to specify a set of tasks that you want to monitor with
the PropertyCollector. This example shows how to initiate virtual machine cloning operations
and monitor completion by tracking the Task
objects.For general task monitoring, a best practice is to use a
ViewManager
to monitor specific tasks. See the API Reference
for more information about using
views.For simplicity, the calls to
RetrievePropertiesEx()
and WaitForUpdatesEx()
in this example ignore the possibility of additional chunks of data returned by the
property collector. For more information about chunking in property collector
results, see Server Data Transmission.