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

Error Event (PgSqlAlerter)
Occurs when an exception happens during listening.
Syntax
'Declaration
 
Public Event Error As PgSqlAlerterErrorEventHandler
 
Event Data

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

PropertyDescription
Gets the exception happened during listening.  
Determines whether to stop listening after an exception.  
Remarks
PgSqlAlerterErrorEventArgs.Exception value determines wether the listening continues after the exception. By default it is set to false, and the listening continues (and uses some of the computer resources). If you need to stop the listening after an exception, set this property to true. Important Note: In such case not only this PgSqlAlerter stops listening, but all other alerters stop listening as well.
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