EnumeratedValueValidationException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the EnumeratedValueValidationException class.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New EnumeratedValueValidationException()
public EnumeratedValueValidationException()
public:
EnumeratedValueValidationException()
public function EnumeratedValueValidationException()
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
EnumeratedValueValidationException Class
EnumeratedValueValidationException Members