dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDependency Class / OnChange Event

In This Topic
    OnChange Event
    In This Topic
    Occurs when a database notification associated with the OracleDependency is received from the database.
    Public Event OnChange As OnChangeEventHandler
    public event OnChangeEventHandler OnChange
    Event Data

    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.

    Gets detailed information about the current notification.  
    Gets the database resources related to the current notification.  
    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.

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also