다음을 통해 공유


DateValidationException Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The exception that is thrown when a datetime value is out of range of the expected values.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class DateValidationException _
    Inherits PropertyValidationException
'Usage
Dim instance As DateValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class DateValidationException : PropertyValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class DateValidationException : public PropertyValidationException
public class DateValidationException extends PropertyValidationException

Remarks

The exception that is thrown when an attempt is made to set a DateTime property outside of the expected range of values.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.PropertyValidationException
      Microsoft.CommerceServer.Marketing..::.DateValidationException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DateValidationException Members

Microsoft.CommerceServer.Marketing Namespace