'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.
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