dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class / Error Event

In This Topic
    Error Event (SqlConnection)
    In This Topic
    Occurs when SQL Server returns an error.
    Syntax
    'Declaration
     
    Public Event Error As SqlConnectionErrorEventHandler
    public event SqlConnectionErrorEventHandler Error
    Remarks

    Clients that want to process errors sent by the server should create a Devart.Data.SqlServer.SqlErrorEventHandler 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

    Reference

    SqlConnection Class
    SqlConnection Members
    Devart.Data.SqlServer.SqlErrorEventArgs
    Devart.Data.SqlServer.SqlErrorEventHandler
    InfoMessage Event