dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlAlerter Class / Alert Event

In This Topic
    Alert Event
    In This Topic
    Occurs when the listening process receives a notification from the server.
    Syntax
    'Declaration
     
    Public Event Alert As PgSqlAlerterAlertEventHandler
    public event PgSqlAlerterAlertEventHandler Alert
    Event Data

    The event handler receives an argument of type PgSqlAlerterAlertEventArgs containing data related to this event. The following PgSqlAlerterAlertEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the name of the notification signalled.  
    Gets the notification payload string of the notification signalled.  
    Gets the ID of the notifying back-end process.  
    Remarks

    Clients that want to process notification messages sent by the server should create a PgSqlAlerterAlertEventHandler delegate to listen to this event.

    Requirements

    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