Deployment Tools Foundation
ValidationError Enumeration
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ValidationError
Defines the type of error encountered by the Validate(Record), ValidateNew(Record),
or ValidateFields(Record) methods of the View class.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public enum ValidationError
Public Enumeration ValidationError
public enum class ValidationError
Members| Member | Description |
|---|---|
| None |
No error.
|
| DuplicateKey |
The new record duplicates primary keys of the existing record in a table.
|
| Required |
There are no null values allowed, or the column is about to be deleted but is referenced by another row.
|
| BadLink |
The corresponding record in a foreign table was not found.
|
| Overflow |
The data is greater than the maximum value allowed.
|
| Underflow |
The data is less than the minimum value allowed.
|
| NotInSet |
The data is not a member of the values permitted in the set.
|
| BadVersion |
An invalid version string was supplied.
|
| BadCase |
The case was invalid. The case must be all uppercase or all lowercase.
|
| BadGuid |
An invalid GUID was supplied.
|
| BadWildcard |
An invalid wildcard file name was supplied, or the use of wildcards was invalid.
|
| BadIdentifier |
An invalid identifier was supplied.
|
| BadLanguage |
Invalid language IDs were supplied.
|
| BadFileName |
An invalid file name was supplied.
|
| BadPath |
An invalid path was supplied.
|
| BadCondition |
An invalid conditional statement was supplied.
|
| BadFormatted |
An invalid format string was supplied.
|
| BadTemplate |
An invalid template string was supplied.
|
| BadDefaultDir |
An invalid string was supplied in the DefaultDir column of the Directory table.
|
| BadRegPath |
An invalid registry path string was supplied.
|
| BadCustomSource |
An invalid string was supplied in the CustomSource column of the CustomAction table.
|
| BadProperty |
An invalid property string was supplied.
|
| MissingData |
The _Validation table is missing a reference to a column.
|
| BadCategory |
The category column of the _Validation table for the column is invalid.
|
| BadKeyTable |
The table in the Keytable column of the _Validation table was not found or loaded.
|
| BadMaxMinValues |
The value in the MaxValue column of the _Validation table is less than the value in the MinValue column.
|
| BadCabinet |
An invalid cabinet name was supplied.
|
| BadShortcut |
An invalid shortcut target name was supplied.
|
| StringOverflow |
The string is too long for the length specified by the column definition.
|
| BadLocalizeAttrib |
An invalid localization attribute was supplied. (Primary keys cannot be localized.)
|