Search

Method setTaskState(VcTaskInfoState state, Object result, VcMethodFault fault)

Sets task state and optionally sets results or fault, as appropriate for state

Returns

void

Arguments

Name Type Description
state VcTaskInfoState New state for task
result Object Result to set, valid only if task state is TaskInfo.State.success
fault VcMethodFault Fault to set, valid only if task state is <a href="VcTaskInfoState.html#error">VcTaskInfoState</a>. The fault must be a of a fault type that directly or indirectly extends <a href="VcVimFault.html">VcVimFault</a>.