'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.
Property | Description |
---|---|
AlertName | Gets the name of the notification signalled. |
Payload | Gets the notification payload string of the notification signalled. |
ProcessId | 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