# Data Object - SmsTaskInfo(sms.TaskInfo)

Returned by
  QuerySmsTaskInfo
Extends
  DynamicData
See also
  LocalizedMethodFault, SmsTask
Since
  SMS API 2.0

## Data Object Description

This data object type contains all information about a task.

Properties

Name | Type | Description
--- | --- | ---
completionTime* | xsd:dateTime | Time stamp when the task was completed (whether success or failure).
error* | LocalizedMethodFault | If the task state is "error", then this property contains the fault code.
key | xsd:string | The unique key for the task.
object* | ManagedObjectReference | Managed Object to which the operation applies.
progress* | xsd:int | If the task state is "running", then this property contains a progress measurement, expressed as percentage completed, from 0 to 100. If this property is not set, then the command does not report progress.
result* | xsd:anyType | If the task state is "success", then this property may be used to hold a return value.
startTime* | xsd:dateTime | Time stamp when the task started running.
state | xsd:string | Runtime status of the task. Possible values are SmsTaskState
task | ManagedObjectReference to a SmsTask | The managed object that represents this task.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="SmsTaskInfo"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="task" type="sms:ManagedObjectReference"/> <element name="object" type="sms:ManagedObjectReference" minOccurs="0"/> <element name="error" type="sms:LocalizedMethodFault" minOccurs="0"/> <element name="result" type="xsd:anyType" minOccurs="0"/> <element name="startTime" type="xsd:dateTime" minOccurs="0"/> <element name="completionTime" type="xsd:dateTime" minOccurs="0"/> <element name="state" type="xsd:string"/> <element name="progress" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>