Chili.Opf3 Send comments on this topic.
ForeignKeyViolationException Constructor(String,IQuery)
See Also 
Chili.Opf3.Storages Namespace > ForeignKeyViolationException Class > ForeignKeyViolationException Constructor : ForeignKeyViolationException Constructor(String,IQuery)




message
A message that describes the current exception.
query
Query that has been executed before the exception has been thrown.
Creates a new instance of the PrimaryKeyViolationException Class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal message As String, _
   ByVal query As IQuery _
)
Visual Basic (Usage)Copy Code
Dim message As String
Dim query As IQuery
 
Dim instance As ForeignKeyViolationException(message, query)
C# 
public ForeignKeyViolationException( 
   string message,
   IQuery query
)
Managed Extensions for C++ 
public: ForeignKeyViolationException( 
   string* message,
   IQuery* query
)
C++/CLI 
public:
ForeignKeyViolationException( 
   String^ message,
   IQuery^ query
)

Parameters

message
A message that describes the current exception.
query
Query that has been executed before the exception has been thrown.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also