Occurs when a database notification associated with the OracleDependency is received from the database.
Public Event OnChange() As OnChangeEventHandler
public event OnChangeEventHandler OnChange();
The event handler receives an argument of type OracleNotificationEventArgs containing data related to this event. The following OracleNotificationEventArgs properties provide information specific to this event.
|Details||Gets detailed information about the current notification.|
|ResourceNames||Gets the database resources related to the current notification.|
|Type||Identifies the database event source for the notification.|
The information related to the notification is stored in the OracleNotificationEventArgs class. The OnChange event occurs if any result set associated with the dependency changes. This event also occurs for other actions related to database or registration status, such as database shutdowns and startups, or registration timeouts.
© 2002 - 2013 Devart. All Rights Reserved.