PropertyNullValidationException Constructor

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

Initializes a new instance of the PropertyNullValidationException class.

Overload List

  Name Description
ms870899.pubmethod(en-US,CS.70).gif PropertyNullValidationException()()() Initializes a new instance of the PropertyNullValidationException class.
ms870899.pubmethod(en-US,CS.70).gif PropertyNullValidationException(String) Initializes a new instance of the PropertyNullValidationException class with the specified error message.
ms870899.protmethod(en-US,CS.70).gif PropertyNullValidationException(SerializationInfo, StreamingContext) Initializes a new instance of the PropertyNullValidationException class with the specified serialization and streaming context information.
ms870899.pubmethod(en-US,CS.70).gif PropertyNullValidationException(String, Exception) Initializes a new instance of the PropertyNullValidationException class with a specified error message and inner exception that is the cause of this exception.
ms870899.pubmethod(en-US,CS.70).gif PropertyNullValidationException(String, String) Initializes a new instance of the PropertyNullValidationException class with a specified error message and the property name that caused this exception.
ms870899.pubmethod(en-US,CS.70).gif PropertyNullValidationException(String, String, Exception) Initializes a new instance of the PropertyNullValidationException class with a specified error message, the property name that caused this exception. and inner exception that is the cause of this exception.

Top

Remarks

PropertyNullValidationException is thrown when an attempt is made to save an entity and at least one property of that entity is nullNothingnullptra null reference (Nothing in Visual Basic) when not allowed.

See Also

Reference

PropertyNullValidationException Class

PropertyNullValidationException Members

Microsoft.CommerceServer Namespace