ActiveDatabaseSoftware.ActiveQueryBuilder Namespace > QueryBuilder Class : UserMessage Event |
'Declaration Public Event UserMessage As UserMessageEventHandler
'Usage Dim instance As QueryBuilder Dim handler As UserMessageEventHandler AddHandler instance.UserMessage, handler
public event UserMessageEventHandler UserMessage
public: __event UserMessageEventHandler* UserMessage
The event handler receives an argument of type UserMessageEventArgs containing data related to this event. The following UserMessageEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Message | Gets the warning message string to be displayed to the user. |
MessageId | Gets the value that uniquely identifies the situation that requires to warn the user. |
You can avoid displaying of the warning message by handling this event.
Currently it is fired when multiple columns with same name appear in sub-queries in result of user actions as this may lead to inconsistence in the calling sub-query.
See the UserMessageEventArgs class for details.