# Fault - FileLocked(vim.fault.FileLocked)

Thrown by
  CopyDatastoreFile_Task, DeleteDatastoreFile_Task, MoveDatastoreFile_Task
Extends
  FileFault

## Fault Description

Thrown if an attempt is made to lock a file that is already in use.

Properties

Name | Type | Description
--- | --- | ---
None
Properties inherited from FileFault
file
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="FileLocked"> <complexContent> <extension base="vsan:FileFault"> <sequence> </sequence> </extension> </complexContent> </complexType>