# Data Object - TaskEvent(vim.event.TaskEvent)

Extended by
  TaskTimeoutEvent
Extends
  Event
See also
  TaskInfo
Since
  2.0

## Data Object Description

This event records the creation of a Task. Note that the embedded TaskInfo object is a snapshot of the Task state at the time of its creation, so its state will always be "queued". To find the current status of the task, query for the current state of the Task using the eventChainId in the embedded TaskInfo object.

Properties

Name | Type | Description
--- | --- | ---
info | TaskInfo | The information about the task.
Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="TaskEvent"> <complexContent> <extension base="vim25:Event"> <sequence> <element name="info" type="vim25:TaskInfo"/> </sequence> </extension> </complexContent> </complexType>