Creates a new instance of the
PrimaryKeyViolationException Class.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal message As String, _
ByVal query As IQuery _
) |
| Managed Extensions for C++ | |
|---|
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