DateRangeValidationException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the DateRangeValidationException 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 DateRangeValidationException()
public DateRangeValidationException()
public:
DateRangeValidationException()
public function DateRangeValidationException()
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.
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
DateRangeValidationException Class
DateRangeValidationException Members