# Fault - TaskInProgress(vim.fault.TaskInProgress)

Thrown by
  AcquireCredentialsInGuest, AddGuestAlias, ChangeFileAttributesInGuest, CheckHostPatch_Task, CloneVApp_Task, CloneVM_Task, ConsolidateVMDisks_Task, CreateDescriptor, CreateImportSpec, CreateRegistryKeyInGuest, CreateScreenshot_Task, CreateSecondaryVM_Task, CreateSecondaryVMEx_Task, CreateSnapshot_Task, CreateSnapshotEx_Task, CreateTemporaryDirectoryInGuest, CreateTemporaryFileInGuest, DefragmentAllDisks, DeleteDirectoryInGuest, DeleteFileInGuest, DeleteRegistryKeyInGuest, DeleteRegistryValueInGuest, DeleteVStorageObject_Task, DisableSecondaryVM_Task, EnableSecondaryVM_Task, EstimateStorageForConsolidateSnapshots_Task, ExportSnapshot, ExportVApp, ExportVm, ExtendDisk_Task, GenerateLogBundles_Task, HostDeleteVStorageObject_Task, HostExtendDisk_Task, HostInflateDisk_Task, InflateDisk_Task, InitiateFileTransferFromGuest, InitiateFileTransferToGuest, InstallHostPatch_Task, InstallHostPatchV2_Task, InstantClone_Task, JoinDomain_Task, JoinDomainWithCAM_Task, LeaveCurrentDomain_Task, ListFilesInGuest, ListGuestAliases, ListGuestMappedAliases, ListProcessesInGuest, ListRegistryKeysInGuest, ListRegistryValuesInGuest, MakeDirectoryInGuest, MakePrimaryVM_Task, MoveDirectoryInGuest, MoveFileInGuest, ParseDescriptor, PerformDvsProductSpecOperation_Task, PowerOffVApp_Task, PowerOffVM_Task, PowerOnVApp_Task, PowerOnVM_Task, PromoteDisks_Task, QueryHostPatch_Task, ReadEnvironmentVariableInGuest, RebootGuest, ReconfigVM_Task, ReleaseCredentialsInGuest, reloadVirtualMachineFromPath_Task, RemoveAllSnapshots_Task, RemoveGuestAlias, RemoveGuestAliasByCert, RemoveSnapshot_Task, RenameSnapshot, ResetVM_Task, RevertToCurrentSnapshot_Task, RevertToSnapshot_Task, ScanHostPatchV2_Task, SetRegistryValueInGuest, ShutdownGuest, StageHostPatch_Task, StandbyGuest, StartProgramInGuest, StartRecording_Task, StartReplaying_Task, StopRecording_Task, StopReplaying_Task, SuspendVApp_Task, SuspendVM_Task, TerminateFaultTolerantVM_Task, TerminateProcessInGuest, TerminateVM, TurnOffFaultToleranceForVM_Task, UninstallHostPatch_Task, UnregisterVM, UpdateVAppConfig, UpdateVirtualMachineFiles_Task, UpdateVStorageInfrastructureObjectPolicy_Task, UpdateVStorageObjectPolicy_Task, UpdateVVolVirtualMachineFiles_Task, UpgradeTools_Task, UpgradeVM_Task, ValidateCredentialsInGuest, ValidateHost
Extended by
  VAppTaskInProgress
Extends
  VimFault
See also
  Task

## Fault Description

The TaskInProgress data object type represents a fault when an operation tries to access an entity that already has another (long) operation in progress.

Properties

Name | Type | Description
--- | --- | ---
task | ManagedObjectReference to a Task | The task already in progress when the operation was attempted.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="TaskInProgress"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="task" type="vsan:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>