DateRangeValidationException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the DateRangeValidationException class.
Overload List
Name | Description | |
---|---|---|
DateRangeValidationException()()() | Initializes a new instance of the DateRangeValidationException class. | |
DateRangeValidationException(String) | Initializes a new instance of the DateRangeValidationException class with a specified error message. | |
DateRangeValidationException(SerializationInfo, StreamingContext) | Initializes a new instance of the DateRangeValidationException class with the specified serialization data and streaming context information. | |
DateRangeValidationException(String, Exception) | Initializes a new instance of the DateRangeValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
DateRangeValidationException(String, String, DateTime, DateTime) | Initializes a new instance of the DateRangeValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
DateRangeValidationException(String, String, DateTime, DateTime, Exception) | Initializes a new instance of the DateRangeValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Top
Remarks
The exception that is thrown when an attempt is made to save an entity which contains an invalid date range. Entities that contain date ranges include Campaign and Discount objects. Both of these include the properties StartDate and EndDate. A date range is invalid if the EndDate is earlier than the StartDate.
See Also
Reference
DateRangeValidationException Class