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

In This Topic
    Error Event (PgSqlLoader)
    In This Topic
    The event is raised when an error occurs during a load operation.
    Syntax
    'Declaration
     
    Public Event Error As PgSqlLoaderErrorEventHandler
    public event PgSqlLoaderErrorEventHandler Error
    Event Data

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

    PropertyDescription
    Gets the PgSqlException instance that a PgSqlLoader throws.  
    Gets or sets whether the current error will be ignored or not.  
    Remarks
    The event handler receives an argument of PgSqlLoaderErrorEventArgs type containing data related to this event. The following PgSqlLoaderErrorEventArgs properties provide information specific to this event:
    Property Description
    PgSqlLoaderErrorEventArgs.Exception Gets PgSqlException object with error specific information.
    PgSqlLoaderErrorEventArgs.Ignore Specifies whether current error will be ignored.

    Clients that want to process errors raised by the server should create a PgSqlLoaderErrorEventHandler 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