Chili.Opf3 Send comments on this topic.
ConstraintException Class
See Also  Members  
Chili.Opf3 Namespace : ConstraintException Class




Exception is thrown if a property marked as mandatory (AllowDBNull is false) is tried to be saved with a value that corresponds DBNull (for example null).

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class ConstraintException 
   Inherits Exception
Visual Basic (Usage)Copy Code
Dim instance As ConstraintException
C# 
public sealed class ConstraintException : Exception 
Managed Extensions for C++ 
public __gc __sealed class ConstraintException : public Exception 
C++/CLI 
public ref class ConstraintException sealed : public Exception 

Remarks

This exception is thrown if a property marked with the AllowDBNull property set to false is containing Null and the program tries to save it to the storage.

Inheritance Hierarchy

System.Object
   System.Exception
      Chili.Opf3.ConstraintException

Requirements

Namespace: Chili.Opf3

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Chili.Opf3 (in Chili.Opf3.dll)

See Also