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.

    See Also