# Fault - NotAFile(vim.fault.NotAFile)

Thrown by
  DeleteFileInGuest
Extends
  FileFault
Since
  vSphere API 5.0

## Fault Description

This fault is thrown when an operation fails because the specified object is not a file.

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="NotAFile"> <complexContent> <extension base="vsan:FileFault"> <sequence> </sequence> </extension> </complexContent> </complexType>