# Fault - CannotDeleteFile(vim.fault.CannotDeleteFile)

Thrown by
  DeleteDatastoreFile_Task, DeleteFile
Extends
  FileFault

## Fault Description

A CannotDeleteFile exception is thrown if a file-deletion operation fails.

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:vim25="urn:vim25" name="CannotDeleteFile"> <complexContent> <extension base="vim25:FileFault"> <sequence> </sequence> </extension> </complexContent> </complexType>