Partajați prin


PropertyNullValidationException Class

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

The exception that is thrown when the value of a property is null when not allowed.

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

Syntax

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

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.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.PropertyValidationException
      Microsoft.CommerceServer..::.PropertyNullValidationException

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

PropertyNullValidationException Members

Microsoft.CommerceServer Namespace