Skip to main content

RelationException Properties

An exception thrown when attempting to assign a data relation to unrelated columns.
Name Description
Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. Inherited from Exception.
DetailColumn Indicates the detail key column specified for an invalid relation.
DetailTable Indicates the detail table specified for an invalid relation.
DetailType Indicates the detail column’s property type.
HelpLink Gets or sets a link to the help file associated with this exception. Inherited from Exception.
HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. Inherited from Exception.
InnerException Gets the Exception instance that caused the current exception. Inherited from Exception.
MasterColumn Indicates the master key column specified for an invalid relation.
MasterTable Indicates the master table specified for an invalid relation.
MasterType Indicates the master column’s property type.
Message Gets a message that describes the current exception. Inherited from Exception.
Source Gets or sets the name of the application or the object that causes the error. Inherited from Exception.
StackTrace Gets a string representation of the immediate frames on the call stack. Inherited from Exception.
TargetSite Gets the method that throws the current exception. Inherited from Exception.
See Also