Note: This documentation is preliminary and is subject to change.
Defines XFile error codes. The methods used to work with Microsoft® DirectX® XFiles can return the following return values. Exceptions thrown from methods that use XFiles can also contain these values.
Definition
Visual Basic .NET
Public Enum XFileErrorCodes
C#
public enum XFileErrorCodes
Managed C++
__value public enum XFileErrorCodes
JScript .NET
public enum XFileErrorCodes
Members
Member
Value
Description
BadCacheFile
-2005531755
A cache file could not be read.
NoMoreData
-2005531756
No further data is available.
NoMoreObjects
-2005531757
All objects have been enumerated.
BadDataReference
-2005531758
Template member data could not be retrieved.
BadArraySize
-2005531759
Array size exceeds the allowable size.
ParseError
-2005531760
File could not be parsed.
BadFile
-2005531761
A file read or write operation failed.
BadFileFloatSize
-2005531762
File is not the expected size.
BadFileVersion
-2005531763
File has an invalid format version.
BadFileType
-2005531764
File has an invalid format.
BadResource
-2005531765
Resource is invalid.
ResourceNotFound
-2005531766
Resource could not be found.
FileNotFound
-2005531767
File could not be found.
NotDoneYet
-2005531768
Operation has not completed.
NotFound
-2005531769
Object could not be found.
BadType
-2005531770
File did not match known template types.
BadValue
-2005531771
A variable is outside its expected range; typically returned when an object is invalid.
BadObject
-2005531772
Data could not be read from or written to an object.