Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the EnumeratedValueValidationException class.
Overload List
Name | Description | |
---|---|---|
![]() |
EnumeratedValueValidationException()()() | Initializes a new instance of the EnumeratedValueValidationException class. |
![]() |
EnumeratedValueValidationException(String) | Initializes a new instance of the EnumeratedValueValidationException class with a specified error message. |
![]() |
EnumeratedValueValidationException(SerializationInfo, StreamingContext) | Initializes a new instance of the EnumeratedValueValidationException class with serialized data and streaming context information. |
![]() |
EnumeratedValueValidationException(String, Exception) | Initializes a new instance of the EnumeratedValueValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
![]() |
EnumeratedValueValidationException(String, String, String, String) | Initializes a new instance of the EnumeratedValueValidationException class with a specified error message and a reference to the property that caused the exception, the enumeration type, and the inner exception that is the cause of this exception. |
![]() |
EnumeratedValueValidationException(String, String, String, String, Exception) | Initializes a new instance of the EnumeratedValueValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Top
Remarks
The EnumeratedValueValidationException is thrown when a property of an enumeration type failed validation. For example, when you attempt to establish a RecurrenceMonths and the value doesn't belong to RecurrenceMonths enumeration value or you use a DefaultFormat property with the value set to nullNothingnullptra null reference (Nothing in Visual Basic) or it does not belong to a MessageFormat enumeration value.
See Also
Reference
EnumeratedValueValidationException Class