PropertyValidationException Constructor

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

Initializes a new instance of the PropertyValidationException class.

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

Syntax

'Declaration
Protected Sub New
'Usage

Dim instance As New PropertyValidationException()
protected PropertyValidationException()
protected:
PropertyValidationException()
protected function PropertyValidationException()

Remarks

PropertyValidationException is thrown when an attempt is made to save an entity and at least one property of that entity does not meet the specifications for the property. Examples of this include nullNothingnullptra null reference (Nothing in Visual Basic) values where not allowed, string values exceeding maximum length limits, or malformed data.

Permissions

See Also

Reference

PropertyValidationException Class

PropertyValidationException Members

PropertyValidationException Overload

Microsoft.CommerceServer Namespace