Managed Object - TaskManager

Property of
See also
Task, TaskDescription, TaskFilterSpec, TaskHistoryCollector

Managed Object Description

The Virtual Infrastructure SDK creates a task for each command that has been invoked. Clients can use task objects to keep track of operations. Clients use the task manager, available in ServiceInstance, to access task objects.


Name Type Description
description PTaskDescription Static descriptive strings used to represent task information to users. These strings are locale-specific.
maxCollector Pxsd:int For each client, the maximum number of task collectors that can exist simultaneously.
recentTask* PManagedObjectReference[]
to a Task[]
Tasks that completed recently, are currently running, or are queued to run.

This list contains only tasks visible to the client. Visibility depends on the client having permissions to access the task's managed entity.

*May not be presentP Required privilege: System.View


Methods defined in this Managed Object


Creates a task history collector, as a specialized history collector that provides TaskInfo objects.

Task collectors do not persist beyond the current client session.

Required Privileges


_thisManagedObjectReference A reference to the TaskManager used to make the method call.
filterTaskFilterSpec The specification for the task query filter.

Return Value

Type Description
to a TaskHistoryCollector
The task collector based on the filter.


Type Description
InvalidArgumentThrown if the filter is null or unknown.
InvalidStateThrown if there are more than the maximum number of task collectors.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition